From 9e147a36adfa6e14ab66ea3b2bcb848eeba2c276 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 22 Feb 2015 05:47:42 -0500
Subject: [PATCH] Fix fatal errors on systems without mbstring extension or mb_regex_encoding() function (#1490280)
---
tests/Framework/Html2text.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tests/Framework/Html2text.php b/tests/Framework/Html2text.php
index 2c7759f..76b1f16 100644
--- a/tests/Framework/Html2text.php
+++ b/tests/Framework/Html2text.php
@@ -41,6 +41,11 @@
'in' => '<b><strong>ś</strong></b>',
'out' => 'Ś',
),
+ 6 => array(
+ 'title' => 'Don\'t remove non-printable chars',
+ 'in' => chr(0x002).chr(0x003),
+ 'out' => chr(0x002).chr(0x003),
+ ),
);
}
--
Gitblit v1.9.1