diff options
author | chris <chris@jalakai.co.uk> | 2006-03-14 16:28:07 +0100 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-03-14 16:28:07 +0100 |
commit | 27918226fc61754bea1db20371e747d89b65cbab (patch) | |
tree | 3a35d7e4264c97815ca873cf300023dd180befa0 /inc/parser/xhtml.php | |
parent | ef64b3a25191b6160db4dc6b08978e203ea5aa4f (diff) | |
download | rpg-27918226fc61754bea1db20371e747d89b65cbab.tar.gz rpg-27918226fc61754bea1db20371e747d89b65cbab.tar.bz2 |
xhtml.php fix for recent <p>..</p> removal regex
darcs-hash:20060314152807-9b6ab-55f44121650def9bdc8dc00f30876baed1b37f9a.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 2 |
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); } /** |