summaryrefslogtreecommitdiff
path: root/tests/html_to_text.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html_to_text.php')
-rw-r--r--tests/html_to_text.php10
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' => '"',
'out' => '"',
),
+ 3 => array(
+ 'title' => 'HTML entity in STRONG tag',
+ 'in' => '<strong>&#347;</strong>', // ś
+ 'out' => 'Ś', // upper ś
+ ),
+ 4 => array(
+ 'title' => 'STRONG tag to upper-case conversion',
+ 'in' => '<strong>ś</strong>',
+ 'out' => 'Ś',
+ ),
);
$ht = new html2text(null, false, false);