Merge pull request #131 from Frodox/devel-chris
Don't remove all comments while parse content
This commit is contained in:
commit
483334170f
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Pico {
|
|||
*/
|
||||
protected function parse_content($content)
|
||||
{
|
||||
$content = preg_replace('#/\*.+?\*/#s', '', $content); // Remove comments and meta
|
||||
$content = preg_replace('#/\*.+?\*/#s', '', $content, 1); // Remove first comment (with meta)
|
||||
$content = str_replace('%base_url%', $this->base_url(), $content);
|
||||
$content = MarkdownExtra::defaultTransform($content);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue