mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-21 16:13:00 +00:00
Bugfix: Return templates as rawHtml instead of text to avoid double-escaping rendered html
This commit is contained in:
parent
dc747547be
commit
017281375d
2 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@
|
|||
"version": "0.3.2",
|
||||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Adds threaded comments to the bottom of every page.",
|
||||
"lastupdate": 1549840530,
|
||||
"lastupdate": 1551562406,
|
||||
"optional": false,
|
||||
"extra_data": []
|
||||
},
|
||||
|
@ -317,7 +317,7 @@
|
|||
"version": "0.10",
|
||||
"author": "Emanuil Rusev & Starbeamrainbowlabs",
|
||||
"description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.",
|
||||
"lastupdate": 1551534540,
|
||||
"lastupdate": 1551564416,
|
||||
"optional": false,
|
||||
"extra_data": {
|
||||
"Parsedown.php": "https:\/\/raw.githubusercontent.com\/erusev\/parsedown\/819c68899d593503180ed79ef4be5a4dcd8c5f92\/Parsedown.php",
|
||||
|
|
|
@ -483,7 +483,7 @@ class PeppermintParsedown extends ParsedownExtra
|
|||
|
||||
return [
|
||||
"name" => "div",
|
||||
"text" => $parsedTemplateSource,
|
||||
"rawHtml" => $parsedTemplateSource,
|
||||
"attributes" => [
|
||||
"class" => "template"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue