Browse Source

PHP syntax highlighting is supposed to be an example. Comment it out.

pull/40/head
Michael Save 12 years ago
parent
commit
a77b0b5f70
  1. 12
      inc/config.php

12
inc/config.php

@ -343,12 +343,12 @@
$config['markup'][] = Array("/(^|\n)==(.+?)==\n?/m", "<span class=\"heading\">\$2</span>");
// Highlight PHP code wrapped in <code> tags (PHP 5.3.0+)
$config['markup'][] = Array(
'/^&lt;code&gt;(.+)&lt;\/code&gt;/s',
function($matches) {
return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>';
}
);
// $config['markup'][] = Array(
// '/^&lt;code&gt;(.+)&lt;\/code&gt;/s',
// function($matches) {
// return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>';
// }
// );
/*
* ====================

Loading…
Cancel
Save