From: Gabriel Wicke Date: Tue, 20 Nov 2012 00:56:59 +0000 (-0800) Subject: Test non-ASCII / URL pseudo-tags X-Git-Tag: 1.31.0-rc.0~21573 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=0e87330edb090caea552d1e6a5774f19d342e765;p=lhc%2Fweb%2Fwiklou.git 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 --- 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