unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Sneddon <me@gsnedders.com>
To: 42182@debbugs.gnu.org
Subject: bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text
Date: Fri, 3 Jul 2020 23:18:41 +0100	[thread overview]
Message-ID: <952881f9-016a-9301-aab8-cd5ecbbc8c21@gsnedders.com> (raw)

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	other threads:[~2020-07-03 22:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-03 22:18 Sam Sneddon [this message]
2020-10-17 10:29 ` bug#42182: 26.3; html/mhtml mode fails to handle ">" (greater-than) in text Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=952881f9-016a-9301-aab8-cd5ecbbc8c21@gsnedders.com \
    --to=me@gsnedders.com \
    --cc=42182@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).