From 0e87330edb090caea552d1e6a5774f19d342e765 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 19 Nov 2012 16:56:59 -0800 Subject: [PATCH] Test non-ASCII / URL pseudo-tags Make sure these are rendered and round-tripped properly. * Tags with names outside [a-zA-Z][a-zA-Z0-9]* are rendered as plain text * Angle brackets around URLs render as angle brackets around URL links Change-Id: I7f0653cbbbb6ccb9a9aa0ecfa29a0c2e78091343 --- tests/parser/parserTests.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index ac3113e9bb..b1847925ee 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -7197,6 +7197,23 @@ DIV IN UPPERCASE !!end +!! test +Non-ASCII pseudo-tags are rendered as text +!! input + +!! result +

<khyô> +

+!! end + +!! test +Pseudo-tag with URL 'name' renders as url link +!! input + +!! result +

<http://example.com/> +

+!! end !! test text with amp in the middle of nowhere -- 2.20.1