From 25c8fe4eeb1e9c1a3055bb27984f1274f99fc1d7 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 17 Jun 2015 08:03:13 -0400
Subject: [PATCH] Fix handling of non-break spaces in html to text conversion (#1490436)
---
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 2f24594..be14882 100644
--- a/tests/Framework/Html2text.php
+++ b/tests/Framework/Html2text.php
@@ -51,6 +51,11 @@
'in' => 'test<br> test',
'out' => "test\ntest",
),
+ 8 => array(
+ 'title' => ' handling test',
+ 'in' => '<div>eye: test<br /> tes: test</div>',
+ 'out' => "eye: test\ntes: test",
+ ),
);
}
--
Gitblit v1.9.1