mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
PHP syntax highlighting is supposed to be an example. Comment it out.
This commit is contained in:
parent
779b4cf984
commit
52c6d919b3
@ -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(
|
||||
'/^<code>(.+)<\/code>/s',
|
||||
function($matches) {
|
||||
return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>';
|
||||
}
|
||||
);
|
||||
// $config['markup'][] = Array(
|
||||
// '/^<code>(.+)<\/code>/s',
|
||||
// function($matches) {
|
||||
// return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>';
|
||||
// }
|
||||
// );
|
||||
|
||||
/*
|
||||
* ====================
|
||||
|
Loading…
x
Reference in New Issue
Block a user