public static close_tags ( string $html ) : string | ||
$html | string | |
return | string |
function testCloseTagsWithSelfClosingTags() { $p = '<p>My thing is this <hr>Whatever'; $html = \Timber\Helper::close_tags($p); $this->assertEquals('<p>My thing is this <hr />Whatever</p>', $html); }