]> sipb.mit.edu Git - ikiwiki.git/commit
textile-double-escape-bug.t: tolerate any valid encoding
authorSimon McVittie <smcv@debian.org>
Tue, 6 Jan 2015 00:26:41 +0000 (00:26 +0000)
committerSimon McVittie <smcv@debian.org>
Tue, 6 Jan 2015 00:28:18 +0000 (00:28 +0000)
commit6b6d330bade5244b4457405cd144f5bf2f9de0ae
tree1bda00d98987d4439524ebcba90362bd8dcfb0b6
parent4315581f31498c7c791fab2b251359c99533760f
textile-double-escape-bug.t: tolerate any valid encoding

Discount in current Debian unstable turns the IURI href into a URI
by encoding the Unicode as UTF-8 and %-escaping each byte.
That is valid, and matches Wikipedia's expectations, but was breaking
this test for me.

It would also be entirely valid (and lead to equivalent parsing) if the
รถ was represented as &ouml;, &#246; or &#xf6 in the text and/or the href.
t/textile-double-escape-bug.t