From 21699a48caee624f5870939735327e142fad42ee Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 15 Feb 2012 13:28:58 +0000 Subject: - Add two small tests for html2text converter git-svn-id: https://svn.roundcube.net/trunk@5887 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/tests/html_to_text.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roundcubemail/tests/html_to_text.php b/roundcubemail/tests/html_to_text.php index c1d40d930..0838719cd 100644 --- a/roundcubemail/tests/html_to_text.php +++ b/roundcubemail/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