summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 2335c8b65..221e18da0 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -95,7 +95,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
// make sure there are no empty paragraphs
- $this->doc = preg_replace('#<p(>| .*?>)\s*</p>#','',$this->doc);
+ $this->doc = preg_replace('#<p>\s*</p>#','',$this->doc);
}
/**