From 8e68430749fdd244057ef7ad720783745aca76c0 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 17 Jun 2015 08:03:57 -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' => '&nbsp; handling test',
+                'in'    => '<div>eye: &nbsp;&nbsp;test<br /> tes: &nbsp;&nbsp;test</div>',
+                'out'   => "eye:   test\ntes:   test",
+            ),
         );
     }
 

--
Gitblit v1.9.1