From bd92f3531be55263de9599c39b483a8bd51f4233 Mon Sep 17 00:00:00 2001 From: "f.godfrin" Date: Thu, 9 Feb 2017 23:37:36 +0100 Subject: [PATCH] Remove double % --- tests/HTMLPurifier/AttrDef/CSS/ColorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php b/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php index e6b4d856..74a6692e 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php @@ -37,7 +37,7 @@ class HTMLPurifier_AttrDef_CSS_ColorTest extends HTMLPurifier_AttrDefHarness $this->assertDef('cmyk(40, 23, 43, 23)', false); $this->assertDef('rgb(0%, 23, 68%)', false); // no mixed type $this->assertDef('rgb(231, 144, 28.2%)', false); // no mixed type - $this->assertDef('hsl(18%,12%%,89%)', false); // integer, percentage, percentage + $this->assertDef('hsl(18%,12%,89%)', false); // integer, percentage, percentage // clip numbers outside sRGB gamut $this->assertDef('rgb(200%, -10%, 0%)', 'rgb(100%,0%,0%)');