mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Emergency path for a weird warning
This commit is contained in:
parent
5b445b239f
commit
676f90b50d
4 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@
|
|||
- Save preprocessors now get passed an extra parameter, which contains the old page source.
|
||||
- Changed the default parser to parsedown.
|
||||
- Removed parsedown from the `parser-parsedown` module and replaced it with code that automatically downloads parsedown and parsedown extra on the first run.
|
||||
- Removed Slimdown add from the parsedown parser and replaced it with a custom extension of parsedown extra.
|
||||
- Removed Slimdown addition from the parsedown parser and replaced it with a custom extension of parsedown extra.
|
||||
- Moved printable button to bottom bar and changed display text to "Printable version".
|
||||
- Redirect pages now show in italics in page lists.
|
||||
- Made other minor improvements to the page lists.
|
||||
|
|
|
@ -3814,7 +3814,7 @@ class PeppermintParsedown extends ParsedownExtra
|
|||
array_unshift($this->InlineTypes["!"], "ExtendedImage");
|
||||
|
||||
$this->inlineMarkerList .= "{";
|
||||
if(!is_array($this->InlineTypes["{"]))
|
||||
if(!isset($this->InlineTypes["{"]) or !is_array($this->InlineTypes["{"]))
|
||||
$this->InlineTypes["{"] = [];
|
||||
$this->InlineTypes["{"][] = "Template";
|
||||
}
|
||||
|
|
|
@ -194,7 +194,7 @@
|
|||
"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 a some weight to your installation, and also *requires* write access to the disk on first load.",
|
||||
"id": "parser-parsedown",
|
||||
"lastupdate": 1458824859,
|
||||
"lastupdate": 1458928314,
|
||||
"optional": false
|
||||
}
|
||||
]
|
|
@ -77,7 +77,7 @@ class PeppermintParsedown extends ParsedownExtra
|
|||
array_unshift($this->InlineTypes["!"], "ExtendedImage");
|
||||
|
||||
$this->inlineMarkerList .= "{";
|
||||
if(!is_array($this->InlineTypes["{"]))
|
||||
if(!isset($this->InlineTypes["{"]) or !is_array($this->InlineTypes["{"]))
|
||||
$this->InlineTypes["{"] = [];
|
||||
$this->InlineTypes["{"][] = "Template";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue