diff options
author | alecpl <alec@alec.pl> | 2012-02-15 13:28:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-02-15 13:28:58 +0000 |
commit | b138a9b56fccbcfa28df68316040f1397a345c64 (patch) | |
tree | d759f8b86705e55d75857174d6b17e3e6b197fb5 /tests/html_to_text.php | |
parent | 43c40f043cce8bfd316e0670919513b50b1e98f1 (diff) |
- Add two small tests for html2text converter
Diffstat (limited to 'tests/html_to_text.php')
-rw-r--r-- | 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 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' => '&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); |