From b138a9b56fccbcfa28df68316040f1397a345c64 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 15 Feb 2012 13:28:58 +0000 Subject: - Add two small tests for html2text converter --- tests/html_to_text.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/html_to_text.php') diff --git a/tests/html_to_text.php b/tests/html_to_text.php index c1d40d930..0838719cd 100644 --- a/tests/html_to_text.php +++ b/tests/html_to_text.php @@ -32,6 +32,16 @@ class rcube_test_html2text extends UnitTestCase 'in' => '"', 'out' => '"', ), + 3 => array( + 'title' => 'HTML entity in STRONG tag', + 'in' => 'ś', // ś + 'out' => 'Ś', // upper ś + ), + 4 => array( + 'title' => 'STRONG tag to upper-case conversion', + 'in' => 'ś', + 'out' => 'Ś', + ), ); $ht = new html2text(null, false, false); -- cgit v1.2.3