[Top][All Lists]

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

nXML highlighting problem

From: Yuri Khan
Subject: nXML highlighting problem
Date: Thu, 26 Sep 2019 01:54:35 +0700

On Thu, Sep 26, 2019, 01:32 Allin Cottrell <> wrote:

> The XML text is shown in "within delimiters" mode not after the very
> first apostrophe but after the first apostrophe following an error in
> my XML, namely forgetting to escape the "greater than" sign in an
> embedded TeX fragment, $k>0$.
> Somehow emacs 26.2 took that error in stride, while it chokes emacs
> 26.3. But not a bug, I guess.

Unescaped greater-than is well-formed in XML. The only case where it MUST
be escaped is when representing a ]]> sequence inside a <!…[…[…]]>.

> <?xml version="1.0"?>
> <p>Here's some TeX: $k>0$ (oops!). And here's what the text that
> comes afterward looks like.</p>

reply via email to

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