From ca9ad75d96f9af0b7ced8b51644bfca4361ea39c Mon Sep 17 00:00:00 2001
From: Aleksander Machniak
Date: Sun, 8 May 2016 10:06:24 +0200
Subject: [PATCH] Add some more tests for HREF attribute washing
---
tests/Framework/Washtml.php | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/Framework/Washtml.php b/tests/Framework/Washtml.php
index 2e681791c..ef4b2e9a0 100644
--- a/tests/Framework/Washtml.php
+++ b/tests/Framework/Washtml.php
@@ -15,7 +15,9 @@ class Framework_Washtml extends PHPUnit_Framework_TestCase
{
// #1488850
$html = 'Firefox'
- .'Internet Explorer
';
+ .'Internet Explorer
'
+ .'Firefox'
+ .'Internet Explorer
';
$washer = new rcube_washtml;
$washed = $washer->wash($html);
@@ -44,7 +46,10 @@ class Framework_Washtml extends PHPUnit_Framework_TestCase
{
$html = ''
. 'Internet Explorer
'
- . '';
+ . ''
+ . ''
+ . 'Internet Explorer
'
+ . '';
$washer = new rcube_washtml;
$washed = $washer->wash($html);