mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 20:59:23 +02:00
FIX prevent death on urls with querystrings & anchors
This commit is contained in:
parent
5f69063d4f
commit
0491ca03cf
@ -476,7 +476,7 @@ class ShortcodeParser
|
|||||||
|
|
||||||
if ($tags) {
|
if ($tags) {
|
||||||
$node->nodeValue = $this->replaceTagsWithText(
|
$node->nodeValue = $this->replaceTagsWithText(
|
||||||
$node->nodeValue,
|
htmlspecialchars($node->nodeValue),
|
||||||
$tags,
|
$tags,
|
||||||
function ($idx, $tag) use ($parser, $extra) {
|
function ($idx, $tag) use ($parser, $extra) {
|
||||||
return $parser->getShortcodeReplacementText($tag, $extra, false);
|
return $parser->getShortcodeReplacementText($tag, $extra, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user