StringScanner is not multibyte-safe. Avoid like the plague.
This commit is contained in:
parent
f7bce2c773
commit
3c650f2cf6
2 changed files with 10 additions and 3 deletions
|
@ -466,7 +466,13 @@ END_THM
|
|||
'</span></em></p>',
|
||||
'_should we go ThatWay or ThisWay _')
|
||||
end
|
||||
|
||||
|
||||
def test_content_with_utf8_in_strong
|
||||
assert_markup_parsed_as(
|
||||
"<p>Can we handle <strong>\u221E-gerbe</strong></p>",
|
||||
"Can we handle **\u221E-gerbe**")
|
||||
end
|
||||
|
||||
def test_content_with_redirected_link
|
||||
assert_markup_parsed_as(
|
||||
"<p>This is a redirected link: <a class='existingWikiWord' href='../show/liquor'>" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue