summaryrefslogtreecommitdiff
path: root/tests/Framework/Html2text.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-18 09:01:12 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-18 09:01:12 +0200
commit59b765d83927cb9e81bf69656db3a7dbdc1b1b41 (patch)
tree82e2bd73653dd8e53c3f5af29ac69bf0105a1fa0 /tests/Framework/Html2text.php
parent25804ec9cd69705f1b991ccc163e9f1c845fc3e3 (diff)
Don't remove links when html signature is converted to text (#1489621)
Fix so when switching editor mode original version of signature is used (#1488849)
Diffstat (limited to 'tests/Framework/Html2text.php')
-rw-r--r--tests/Framework/Html2text.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Framework/Html2text.php b/tests/Framework/Html2text.php
index 2c7759f7d..76b1f16cd 100644
--- a/tests/Framework/Html2text.php
+++ b/tests/Framework/Html2text.php
@@ -41,6 +41,11 @@ class rc_html2text extends PHPUnit_Framework_TestCase
'in' => '<b><strong>&#347;</strong></b>',
'out' => 'Ś',
),
+ 6 => array(
+ 'title' => 'Don\'t remove non-printable chars',
+ 'in' => chr(0x002).chr(0x003),
+ 'out' => chr(0x002).chr(0x003),
+ ),
);
}