mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Makes textile formatter accept 2 letters acronym (#6591).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4374 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -78,6 +78,14 @@ class Redmine::WikiFormatting::TextileFormatterTest < HelperTestCase
|
||||
)
|
||||
end
|
||||
|
||||
def test_acronyms
|
||||
assert_html_output(
|
||||
'this is an acronym: GPL(General Public License)' => 'this is an acronym: <acronym title="General Public License">GPL</acronym>',
|
||||
'2 letters JP(Jean-Philippe) acronym' => '2 letters <acronym title="Jean-Philippe">JP</acronym> acronym',
|
||||
'GPL(This is a double-quoted "title")' => '<acronym title="This is a double-quoted "title"">GPL</acronym>'
|
||||
)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def assert_html_output(to_test)
|
||||
|
||||
Reference in New Issue
Block a user