diff options
Diffstat (limited to '_test')
-rw-r--r-- | _test/tests/inc/parser/parser_media.test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_test/tests/inc/parser/parser_media.test.php b/_test/tests/inc/parser/parser_media.test.php index fdb9c0fc4..edb635acd 100644 --- a/_test/tests/inc/parser/parser_media.test.php +++ b/_test/tests/inc/parser/parser_media.test.php @@ -136,12 +136,12 @@ class TestOfDoku_Parser_Media extends TestOfDoku_Parser { function testVideoInternalTitle() { $file = 'wiki:kind_zu_katze.ogv'; $title = 'Single quote: \' Ampersand: &'; - + $Renderer = new Doku_Renderer_xhtml(); $url = $Renderer->externalmedia($file, $title, null, null, null, 'cache', 'details', true); - + // make sure the title is escaped just once - $this->assertEquals(htmlspecialchars($title), substr($url, 28, 32)); + $this->assertEquals(hsc($title), substr($url, 28, 37)); } function testSimpleLinkText() { |