1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-01 11:50:28 +02:00

[1.6.1] Activate transform for hr.size

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1006 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2007-05-01 21:36:19 +00:00
parent 3d978c961d
commit 234b3085d7
5 changed files with 12 additions and 2 deletions

View File

@@ -214,6 +214,13 @@ class HTMLPurifier_Strategy_ValidateAttributesTest extends
'<a href="foo" />',
array('Attr.AllowedFrameTargets' => '_top', 'HTML.Strict' => true)
);
// hr rule transformations
$this->assertResult(
'<hr size="3" />',
'<hr style="height:3px;" />'
);
}
}