Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

master
Jacques Distler 2011-08-15 10:20:14 -05:00
commit c1826775d2
2 changed files with 10 additions and 3 deletions

View File

@ -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'>" +

View File

@ -33,8 +33,9 @@ class CharSourceDebug; end
# Choose!
#CharSource = CharSourceManual # faster! 58ms vs. 65ms
CharSource = CharSourceStrscan # Seems faster on LONG documents (where we care)
CharSource = CharSourceManual # faster! 58ms vs. 65ms
#CharSource = CharSourceStrscan # Faster on LONG documents. But it's not multi-byte aware
# (at least in Ruby 1.9.2 and earlier), Hence unusable in Ruby 1.9.
#CharSource = CharSourceDebug