Remove ws subs (#1220)
* remove unwanted whitespace substitution * end repression of file extensions * see also https://github.com/gollum/gollum-lib/pull/249
This commit is contained in:
@@ -89,10 +89,12 @@ context "Frontend Unicode support" do
|
||||
assert_equal 'ghi', page.version.message
|
||||
end
|
||||
|
||||
test 'transliteration' do
|
||||
# TODO: Remove to_url once write_page changes are merged.
|
||||
@wiki.write_page('ééééé'.to_url, :markdown, '한글 text', { :name => '', :email => '' })
|
||||
page = @wiki.page('eeeee')
|
||||
test 'unicode filenames' do
|
||||
# we transliterate only when adapter is grit
|
||||
return if defined?(Gollum::GIT_ADAPTER) && Gollum::GIT_ADAPTER != 'grit'
|
||||
|
||||
@wiki.write_page("ééééé".to_url, :markdown, '한글 text', { :name => '', :email => '' })
|
||||
page = @wiki.page("eeeee".to_url)
|
||||
assert_equal '한글 text', utf8(page.raw_data)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user