diff options
author | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2005-09-21 12:38:57 +0000 |
---|---|---|
committer | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2005-09-21 12:38:57 +0000 |
commit | 37baef8f604bd509047d580b5dfb33d9c3f38031 (patch) | |
tree | 850e4449b96a9ad8865f61940bee397df1c333b9 /test/tc_converters_text2html.rb | |
parent | 07c53c0c1d03721c68b3cf292f0fa8402c82c006 (diff) | |
download | feed2imap-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-x | test/tc_converters_text2html.rb | 11 |
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 <a href="http://pilot-link.org/">pilot-link</a> to sync over Bluetooth, without the crappy 'Set up a PPP server' bit. Now to download <a href="http://palmsource.palmgear.com/index.cfm?fuseaction=software.showsoftware&prodID=52957">BtSync</a>. + EOF + + output = <<-EOF + EOF + assert_equal(output, input.text2html) + end + end |