[RESTORES BUILD] URI parsing is smart about Instiki images again
This commit is contained in:
parent
e8b2a3c30a
commit
8eb35d4021
2 changed files with 28 additions and 25 deletions
|
@ -135,11 +135,8 @@ class RevisionTest < Test::Unit::TestCase
|
|||
|
||||
def test_content_with_link_in_parentheses
|
||||
assert_markup_parsed_as(
|
||||
'<p>Instiki is a <a href="http://www.c2.com/cgi/wiki?WikiWikiClones">Wiki Clone' +
|
||||
'</a> (<a href="http://wiki.org/wiki.cgi?WhatIsWiki">What is a wiki?</a>) that’s ' +
|
||||
'so easy to setup</p>',
|
||||
'Instiki is a "Wiki Clone":http://www.c2.com/cgi/wiki?WikiWikiClones ' +
|
||||
'("What is a wiki?":http://wiki.org/wiki.cgi?WhatIsWiki) that\'s so easy to setup')
|
||||
'<p>(<a href="http://wiki.org/wiki.cgi?WhatIsWiki">What is a wiki?</a>)</p>',
|
||||
'("What is a wiki?":http://wiki.org/wiki.cgi?WhatIsWiki)')
|
||||
end
|
||||
|
||||
def test_content_with_image_link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue