aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/output.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-08 19:33:21 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-08 19:33:21 -0500
commitc4b49227819624b14b61e6eedbfa6779cd794d45 (patch)
treeb198cff1151656ab4d8c4ef649e7b8e1bc5e5469 /engine/lib/output.php
parentb2bcd510b040b6d065a3a6ad5a4ea36e43db0446 (diff)
downloadelgg-c4b49227819624b14b61e6eedbfa6779cd794d45.tar.gz
elgg-c4b49227819624b14b61e6eedbfa6779cd794d45.tar.bz2
most of the comments in the engine now past the sniffer
Diffstat (limited to 'engine/lib/output.php')
-rw-r--r--engine/lib/output.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/output.php b/engine/lib/output.php
index 6554481f5..65f51f854 100644
--- a/engine/lib/output.php
+++ b/engine/lib/output.php
@@ -81,10 +81,10 @@ function autop($pee, $br = 1) {
}
$pee = preg_replace('!(</?' . $allblocks . '[^>]*>)\s*<br />!', "$1", $pee);
$pee = preg_replace('!<br />(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)!', '$1', $pee);
-// if (strpos($pee, '<pre') !== false) {
-// mind the space between the ? and >. Only there because of the comment.
-// $pee = preg_replace_callback('!(<pre.*? >)(.*?)</pre>!is', 'clean_pre', $pee );
-// }
+ //if (strpos($pee, '<pre') !== false) {
+ // mind the space between the ? and >. Only there because of the comment.
+ // $pee = preg_replace_callback('!(<pre.*? >)(.*?)</pre>!is', 'clean_pre', $pee );
+ //}
$pee = preg_replace( "|\n</p>$|", '</p>', $pee );
return $pee;