Add test for #4354.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3142 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
96fe47ea19
commit
3918374d5c
|
@ -472,6 +472,10 @@ EXPECTED
|
||||||
assert_equal expected.gsub(%r{\s+}, ''), textilizable(raw).gsub(%r{\s+}, '')
|
assert_equal expected.gsub(%r{\s+}, ''), textilizable(raw).gsub(%r{\s+}, '')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_textile_should_not_mangle_brackets
|
||||||
|
assert_equal '<p>[msg1][msg2]</p>', textilizable('[msg1][msg2]')
|
||||||
|
end
|
||||||
|
|
||||||
def test_default_formatter
|
def test_default_formatter
|
||||||
Setting.text_formatting = 'unknown'
|
Setting.text_formatting = 'unknown'
|
||||||
text = 'a *link*: http://www.example.net/'
|
text = 'a *link*: http://www.example.net/'
|
||||||
|
|
Loading…
Reference in New Issue