mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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…
x
Reference in New Issue
Block a user