summaryrefslogtreecommitdiff
path: root/test/tc_converters_text2html.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_converters_text2html.rb')
-rwxr-xr-xtest/tc_converters_text2html.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/tc_converters_text2html.rb b/test/tc_converters_text2html.rb
index 6087b87..34de18f 100755
--- a/test/tc_converters_text2html.rb
+++ b/test/tc_converters_text2html.rb
@@ -273,4 +273,15 @@ in which he interviewed me about the award.
EOF
assert_equal(output, input.unescape_html)
end
+
+ def test_unescape_hadess
+ input = <<-EOF
+Yay! Got &lt;a href=&quot;http://pilot-link.org/&quot;&gt;pilot-link&lt;/a&gt; to sync over Bluetooth, without the crappy 'Set up a PPP server' bit. Now to download &lt;a href=&quot;http://palmsource.palmgear.com/index.cfm?fuseaction=software.showsoftware&amp;prodID=52957&quot;&gt;BtSync&lt;/a&gt;.
+ EOF
+
+ output = <<-EOF
+ EOF
+ assert_equal(output, input.text2html)
+ end
+
end