Skip to content

Commit

Permalink
FIX prevent death on urls with querystrings & anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyc7m authored and robbieaverill committed Jan 29, 2019
1 parent 5f69063 commit 0491ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Parsers/ShortcodeParser.php
Expand Up @@ -476,7 +476,7 @@ protected function replaceAttributeTagsWithContent($htmlvalue)

if ($tags) {
$node->nodeValue = $this->replaceTagsWithText(
$node->nodeValue,
htmlspecialchars($node->nodeValue),
$tags,
function ($idx, $tag) use ($parser, $extra) {
return $parser->getShortcodeReplacementText($tag, $extra, false);
Expand Down

0 comments on commit 0491ca0

Please sign in to comment.