summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-21 12:11:53 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-21 12:11:53 +1100
commita77b0b5f706a30052168a588a0e4a91605a7d7f3 (patch)
tree4c45503f13f4d3c355fe602f2adbc6de6392217f
parent66b08bafef30dbf93cad2e8d2847bb608d6e2ecf (diff)
PHP syntax highlighting is supposed to be an example. Comment it out.
-rw-r--r--inc/config.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/config.php b/inc/config.php
index a8c64dc9..710f9dbd 100644
--- a/inc/config.php
+++ b/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>';
+ // }
+ // );
/*
* ====================