modules/doc: Replace Parsedown's decprecated method parse() with text()
refs #4820
This commit is contained in:
parent
ce37c20736
commit
99971e241c
|
@ -125,7 +125,7 @@ class DocParser
|
|||
}
|
||||
$fileObject->flock(LOCK_UN);
|
||||
}
|
||||
$html = Parsedown::instance()->parse(implode('', $cat));
|
||||
$html = Parsedown::instance()->text(implode('', $cat));
|
||||
$html = preg_replace_callback(
|
||||
'#<pre><code class="language-php">(.*?)\</code></pre>#s',
|
||||
array($this, 'highlight'),
|
||||
|
|
Loading…
Reference in New Issue