PHP already adds <code> for highlight_string()

This commit is contained in:
Michael Save 2012-03-21 12:15:50 +11:00
parent ce2d794137
commit cf6bf2c7dc

View File

@ -346,7 +346,7 @@
// $config['markup'][] = Array(
// '/^&lt;code&gt;(.+)&lt;\/code&gt;/ms',
// function($matches) {
// return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>';
// return highlight_string(html_entity_decode($matches[1]), true);
// }
// );