Merge branch 'dont-sanitize-figure-tag' into 'master'
sanitizer: keep <figure> intact See merge request tt-rss/tt-rss!15
This commit is contained in:
commit
d4ae6c67db
|
@ -9,5 +9,12 @@ final class SanitizerTest extends TestCase {
|
||||||
Sanitizer::sanitize('<p>中文</p>')
|
Sanitizer::sanitize('<p>中文</p>')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function test_sanitize_keep_figure(): void {
|
||||||
|
$this->assertEquals(
|
||||||
|
'<figure>Content</figure>',
|
||||||
|
Sanitizer::sanitize('<figure>Content</figure>')
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue