diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-04-06 16:34:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-04-06 16:34:52 +0000 |
commit | 99fa41011fb260938005139f1328c46fd3ee64c5 (patch) | |
tree | 5a92afb5b9f24cb521e0f2d943a22545ccb262cc /test/unit/lib | |
parent | 36869efbd199e47278ba5942f5dbb7240bf3f5d5 (diff) | |
download | redmine-99fa41011fb260938005139f1328c46fd3ee64c5.tar.gz redmine-99fa41011fb260938005139f1328c46fd3ee64c5.zip |
Add kbd to ALLOWED_TAGS (#25503).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16500 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib')
-rw-r--r-- | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb | 6 |
1 files changed, 6 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 03d4ef5e6..548a41de3 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -166,6 +166,12 @@ EXPECTED ) end + def test_kbd + assert_html_output({ + '<kbd>test</kbd>' => '<kbd>test</kbd>' + }, false) + end + def test_use_of_backslashes_followed_by_numbers_in_headers assert_html_output({ 'h1. 2009\02\09' => '<h1>2009\02\09</h1>' |