Commit 1c905873 by Carsten Brandt

typo

parent 020fd184
...@@ -38,7 +38,7 @@ class ApiMarkdown extends Markdown ...@@ -38,7 +38,7 @@ class ApiMarkdown extends Markdown
$text = highlight_string(trim($block['text']), true); $text = highlight_string(trim($block['text']), true);
} else { } else {
$text = highlight_string("<?php\n".trim($block['text']), true); $text = highlight_string("<?php\n".trim($block['text']), true);
$text = str_replace('<?php', '', $text); $text = str_replace('&lt;?php', '', $text);
} }
// remove <code> tags added by php // remove <code> tags added by php
$text = substr(trim($text), 6, -7); $text = substr(trim($text), 6, -7);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment