From c252a1b620310ebfa60229977d7d640441e81af0 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Wed, 3 Jan 2024 16:41:33 -0500 Subject: [PATCH] tests: fix angle-bracket syntax test: expect namespace-like "foo:" prefixes to be preserved (#102) A couple years ago, for special markdown-link-like things like "", the text up to the colon was being stripped, maybe due to namespace handling. Now, it's being preserved. Maybe due to libxml 2.x changes, maybe due to Kramdown/Nokogiri changes or how we're now using them instead of rdiscount and hpricot. I think the new "foo:"-preserving behavior is more correct, both in terms of HTML/XML processing an Ronn's definition of special angle-bracket "" syntax. So I'm marking the new behavior as expected, and not doing any behavioral code changes. This should get the tests passing again under recent Linux and macOS releases. --- test/angle_bracket_syntax.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/angle_bracket_syntax.html b/test/angle_bracket_syntax.html index d993705..f629096 100644 --- a/test/angle_bracket_syntax.html +++ b/test/angle_bracket_syntax.html @@ -13,7 +13,7 @@

NAME

or when <WORD> is enclosed in backticks.

-

or when WORD has a or .

+

or when WORD has a or .

Escaping angle brackets