mirror of
https://github.com/getgrav/grav.git
synced 2026-03-16 01:21:07 +01:00
Fix for double encoding resulting from Markdown Extra - #764
This commit is contained in:
@@ -229,6 +229,7 @@ trait ParsedownGravTrait
|
||||
|
||||
// if there is a query, then parse it and build action calls
|
||||
if (isset($url['query'])) {
|
||||
$url['query'] = htmlspecialchars_decode(urldecode($url['query']));
|
||||
$actions = array_reduce(explode('&', $url['query']), function ($carry, $item) {
|
||||
$parts = explode('=', $item, 2);
|
||||
$value = isset($parts[1]) ? $parts[1] : null;
|
||||
|
||||
Reference in New Issue
Block a user