diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-15 13:28:58 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-15 13:28:58 +0000 |
| commit | 21699a48caee624f5870939735327e142fad42ee (patch) | |
| tree | cf8faed7ad94acbc8b78c62a982169db5d9c9d03 /roundcubemail/tests/html_to_text.php | |
| parent | 85036dddc3be710a9a3dd81fc777d79a64eafdfb (diff) | |
- Add two small tests for html2text converter
git-svn-id: https://svn.roundcube.net/trunk@5887 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/tests/html_to_text.php')
| -rw-r--r-- | roundcubemail/tests/html_to_text.php | 10 |
1 files changed, 10 insertions, 0 deletions
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' => '&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); |
