diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-03-20 12:54:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-03-20 12:54:23 +0000 |
commit | 533590c29cf3d22cd95975ad6d61c2c1bf70235d (patch) | |
tree | 7b521f2b8df1feb83fd126fa377426e13e220bf0 /test | |
parent | 6e6e260ceae699d44be8bccc66ec0566695091a0 (diff) | |
download | redmine-533590c29cf3d22cd95975ad6d61c2c1bf70235d.tar.gz redmine-533590c29cf3d22cd95975ad6d61c2c1bf70235d.zip |
Fixed: Double-dash results in strikethrough text (#5122).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3605 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb index a64690d36..d5fbd72ce 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -71,6 +71,13 @@ class Redmine::WikiFormatting::TextileFormatterTest < HelperTestCase ) end + def test_double_dashes_should_not_strikethrough + assert_html_output( + 'double -- dashes -- test' => 'double -- dashes -- test', + 'double -- *dashes* -- test' => 'double -- <strong>dashes</strong> -- test' + ) + end + private def assert_html_output(to_test) |