From 53cbebf8ade5d9994479370cc78ac4e10c23c887 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 09 Apr 2015 04:11:00 -0400 Subject: [PATCH] Fix handling spaces after <br> on html2text conversion --- 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 76b1f16..dee7670 100644 --- a/tests/Framework/Html2text.php +++ b/tests/Framework/Html2text.php @@ -46,6 +46,11 @@ 'in' => chr(0x002).chr(0x003), 'out' => chr(0x002).chr(0x003), ), + 7 => array( + 'title' => 'Remove spaces after <br>', + 'in' => 'test<br> test', + 'out' => "test\ntest", + ), ); } -- Gitblit v1.9.1