From 37baef8f604bd509047d580b5dfb33d9c3f38031 Mon Sep 17 00:00:00 2001 From: lnu Date: Wed, 21 Sep 2005 12:38:57 +0000 Subject: fix another problem with escaped html git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@67 f70e237a-67f3-0310-a06c-d2b8a7116972 --- test/tc_converters_text2html.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/tc_converters_text2html.rb') 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 -- cgit v1.2.3-54-g00ecf