Non-ASCII Lists

Fix a bug in Maruku's
list-parsing.

Also fix a test broken
by latest Rack + Ruby 1.9.
This commit is contained in:
Jacques Distler 2011-06-01 13:17:23 -05:00
parent 7e5dbe5854
commit c9ad2c0c6e
4 changed files with 19 additions and 5 deletions

View file

@ -690,7 +690,7 @@ class WikiControllerTest < ActionController::TestCase
a = ''.respond_to?(:force_encoding) ? "\u{1D538}\u00FCthorOfNewPage" :
"\360\235\224\270\303\274thorOfNewPage"
assert_equal a, new_page.author
assert_equal "\xF0\x9D\x94\xB8\xC3\xBCthorOfNewPage".as_bytes, r.cookies['author']
assert_equal a, r.cookies['author']
end
def test_save_not_utf8