- Add two small tests for html2text converter

pull/1/head
alecpl 13 years ago
parent 43c40f043c
commit b138a9b56f

@ -32,6 +32,16 @@ class rcube_test_html2text extends UnitTestCase
'in' => '"', 'in' => '"',
'out' => '"', '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); $ht = new html2text(null, false, false);

Loading…
Cancel
Save