mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 05:18:40 +00:00
finish markdown cleanup
This commit is contained in:
parent
889e71e5ab
commit
d547401cb1
File diff suppressed because it is too large
Load Diff
|
|
@ -48,7 +48,7 @@ final class MarkdownTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testSafeMode() : void
|
public function testSafeMode() : void
|
||||||
{
|
{
|
||||||
$parser = new Markdown();
|
$parser = new Markdown();
|
||||||
$parser->setSafeMode(true);
|
$parser->safeMode = true;
|
||||||
|
|
||||||
self::assertEquals(
|
self::assertEquals(
|
||||||
\file_get_contents(__DIR__ . '/manualdata/xss_bad_url.html'),
|
\file_get_contents(__DIR__ . '/manualdata/xss_bad_url.html'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user