bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in t


From: Sam Sneddon
Subject: bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text
Date: Fri, 3 Jul 2020 23:18:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Inputting the following in either HTML or HTML+ mode causes bogus
highlighting:

---

foo > bar

<div class="not highlighted as attribute">

'highlighted as attribute'

---

As the text implies, the attribute is _not_ highlighted as such, and the
quotation marks on the next line are treated as an attribute. This
becomes much more disruptive when anything like "it's" appears in the
text as it'll highlight everything until the next apostrophe!

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40844 is similar, except
there it gets confused by "(".

/Sam





reply via email to

[Prev in Thread] Current Thread [Next in Thread]