unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text
@ 2020-07-03 22:18 Sam Sneddon
  2020-10-17 10:29 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Sneddon @ 2020-07-03 22:18 UTC (permalink / raw)
  To: 42182

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text
  2020-07-03 22:18 bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text Sam Sneddon
@ 2020-10-17 10:29 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-17 10:29 UTC (permalink / raw)
  To: Sam Sneddon; +Cc: 42182

Sam Sneddon <me@gsnedders.com> writes:

> 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. 

I can reproduce this in Emacs 26.3, but not in Emacs 28, so I'm going to
go ahead and guess that this has been fixed in the meantime.  If this is
still a problem in Emacs 28, please send a mail to the debbugs address
and we'll reopen the report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-17 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 22:18 bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text Sam Sneddon
2020-10-17 10:29 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).