Subject: bug#40844: html mode sometimes fooled by apostrophe

From: Noam Postavsky <[email-masked]>
Date: Sat, 25 Apr 2020 10:09:06 -0400

tags 40844 + confirmed
found 40844 27.0.91
quit

積丹尼 Dan Jacobson <[email-masked]> writes:

> $ wget https://www.jidanni.org/lang/pinyin/older.html
> $ emacs -q older.html
>
> You will see that by mid-file, emacs has already got confused by
> U+0027 APOSTROPHE
> causing it to turn on and off font-lock-string-face!
> So there is something in this file that causes it to screw up.

Seems to be related to the paren character, here's a smaller
reproducer:

    <!DOCTYPE html>
    <html>
    <body>
     （and counties' names
    </body>
    </html>