mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +00:00
e05bd77344
HTMLT tests are a compact and easy-to-use way of making assertPurification type tests. They take the format of: --INI-- Ns.Directive = "directive value" --HTML-- Input HTML --EXPECT-- Expected HTML Expect more features and migration to be coming soon. Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
7 lines
138 B
Plaintext
7 lines
138 B
Plaintext
--INI--
|
|
HTML.Strict = true
|
|
--HTML--
|
|
<u>Illegal underline</u>
|
|
--EXPECT--
|
|
<span style="text-decoration:underline;">Illegal underline</span>
|