From f74729876fe8f89cdfa176e99d17dc4da9e3e05b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 21 Oct 2015 21:27:05 -0400 Subject: xml: Reverse order of operations issue. Try to parse close tags before open tags. * syntax-highlight/xml.scm (xml-highlighter): Switch order of 'parse-close-tag' and 'parse-open-tag'. --- syntax-highlight/xml.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syntax-highlight/xml.scm') diff --git a/syntax-highlight/xml.scm b/syntax-highlight/xml.scm index 371f36f..87b661b 100644 --- a/syntax-highlight/xml.scm +++ b/syntax-highlight/xml.scm @@ -105,7 +105,7 @@ (parse-map flatten+compact (parse-many (parse-any parse-comment - parse-open-tag parse-close-tag + parse-open-tag parse-entity parse-text)))) -- cgit v1.2.3