alecpl
2012-02-15 b138a9b56fccbcfa28df68316040f1397a345c64
- Add two small tests for html2text converter


1 files modified
10 ■■■■■ changed files
tests/html_to_text.php 10 ●●●●● patch | view | raw | blame | history
tests/html_to_text.php
@@ -32,6 +32,16 @@
                '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);