From b138a9b56fccbcfa28df68316040f1397a345c64 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 15 Feb 2012 08:28:58 -0500 Subject: [PATCH] - Add two small tests for html2text converter --- tests/html_to_text.php | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/tests/html_to_text.php b/tests/html_to_text.php index c1d40d9..0838719 100644 --- a/tests/html_to_text.php +++ b/tests/html_to_text.php @@ -32,6 +32,16 @@ 'in' => '&quot;', 'out' => '"', ), + 3 => array( + 'title' => 'HTML entity in STRONG tag', + 'in' => '<strong>ś</strong>', // ś + 'out' => 'Ś', // upper ś + ), + 4 => array( + 'title' => 'STRONG tag to upper-case conversion', + 'in' => '<strong>ś</strong>', + 'out' => 'Ś', + ), ); $ht = new html2text(null, false, false); -- Gitblit v1.9.1