modules/doc: Replace Parsedown's decprecated method parse() with text()

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-23 14:03:18 +02:00
parent ce37c20736
commit 99971e241c
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class DocParser
} }
$fileObject->flock(LOCK_UN); $fileObject->flock(LOCK_UN);
} }
$html = Parsedown::instance()->parse(implode('', $cat)); $html = Parsedown::instance()->text(implode('', $cat));
$html = preg_replace_callback( $html = preg_replace_callback(
'#<pre><code class="language-php">(.*?)\</code></pre>#s', '#<pre><code class="language-php">(.*?)\</code></pre>#s',
array($this, 'highlight'), array($this, 'highlight'),