1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-07 06:36:44 +02:00

tel protocol support.

This commit is contained in:
Wes Cossick
2016-06-17 18:39:18 -05:00
committed by Edward Z. Yang
parent a11aeab4a6
commit cc35c8eb8c
12 changed files with 111 additions and 5 deletions

View File

@@ -69,6 +69,14 @@ class HTMLPurifier_URIParserTest extends HTMLPurifier_Harness
);
}
public function testTelURI()
{
$this->assertParsing(
'tel:+1 (555) 555-5555',
'tel', null, null, null, '+1 (555) 555-5555', null, null
);
}
public function testIPv4Address()
{
$this->assertParsing(