summaryrefslogtreecommitdiff
path: root/test/tc_converters_text2html.rb
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-09-21 12:38:57 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2005-09-21 12:38:57 +0000
commit37baef8f604bd509047d580b5dfb33d9c3f38031 (patch)
tree850e4449b96a9ad8865f61940bee397df1c333b9 /test/tc_converters_text2html.rb
parent07c53c0c1d03721c68b3cf292f0fa8402c82c006 (diff)
downloadfeed2imap-37baef8f604bd509047d580b5dfb33d9c3f38031.tar.gz
feed2imap-37baef8f604bd509047d580b5dfb33d9c3f38031.tar.bz2
feed2imap-37baef8f604bd509047d580b5dfb33d9c3f38031.zip
fix another problem with escaped html
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@67 f70e237a-67f3-0310-a06c-d2b8a7116972
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