Skip to content
Snippets Groups Projects
Commit 27918226 authored by chris's avatar chris
Browse files

xhtml.php fix for recent <p>..</p> removal regex

darcs-hash:20060314152807-9b6ab-55f44121650def9bdc8dc00f30876baed1b37f9a.gz
parent ef64b3a2
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment