Skip to content
Snippets Groups Projects
Commit 3918374d authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Add test for #4354.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3142 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 96fe47ea
Branches
Tags
No related merge requests found
......@@ -472,6 +472,10 @@ EXPECTED
assert_equal expected.gsub(%r{\s+}, ''), textilizable(raw).gsub(%r{\s+}, '')
end
def test_textile_should_not_mangle_brackets
assert_equal '<p>[msg1][msg2]</p>', textilizable('[msg1][msg2]')
end
def test_default_formatter
Setting.text_formatting = 'unknown'
text = 'a *link*: http://www.example.net/'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment