summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php
index 0c563f13d..70ebc1f76 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -154,6 +154,7 @@ function html_secedit($text,$show=true){
}else{
$text = preg_replace('#<!-- SECTION \[(\d*-\d*)\] -->#e','',$text);
}
+ $text = preg_replace('@<p>\s*</p>@', '', $text);
return $text;
}