diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-16 19:37:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-16 19:37:09 +0000 |
commit | f4e0c77c8357958e713466c000e135e321600249 (patch) | |
tree | 18d293d142514c38a7570536afa6651784984237 /test | |
parent | 0223b87612fd536b51c448916dc5fff1284c6b82 (diff) | |
download | redmine-f4e0c77c8357958e713466c000e135e321600249.tar.gz redmine-f4e0c77c8357958e713466c000e135e321600249.zip |
Prevent unwanted textile link parsing at end of line.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1557 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 7fa96d7e2..c6afdda0e 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -59,6 +59,7 @@ class ApplicationHelperTest < HelperTestCase 'This is a "link":http://foo.bar' => 'This is a <a href="http://foo.bar" class="external">link</a>', 'This is an intern "link":/foo/bar' => 'This is an intern <a href="/foo/bar">link</a>', '"link (Link title)":http://foo.bar' => '<a href="http://foo.bar" title="Link title" class="external">link</a>', + "This is not a \"Link\":\n\nAnother paragraph" => "This is not a \"Link\":</p>\n\n\n\t<p>Another paragraph", # no multiline link text "This is a double quote \"on the first line\nand another on a second line\":test" => "This is a double quote \"on the first line<br />\nand another on a second line\":test" } |