From b5c4f48e2af63c2122b8bd791aff6237c243e78a Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 26 Jan 2010 13:00:11 +0000 Subject: Made header_text use span instead of div (xhtml compliance fix). --- utils/markdown.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/markdown.php') diff --git a/utils/markdown.php b/utils/markdown.php index 08a2b2a..b594cf4 100644 --- a/utils/markdown.php +++ b/utils/markdown.php @@ -2092,14 +2092,14 @@ class MarkdownExtra_Parser extends Markdown_Parser { $level = $matches[3]{0} == '=' ? 1 : 2; $attr = $this->_doHeaders_attr($id =& $matches[2]); $class = strtolower(str_replace(" ", "_", $this->runSpanGamut($matches[1]))); - $block = "
".$this->runSpanGamut($matches[1])."
"; + $block = "
".$this->runSpanGamut($matches[1])."
"; return "\n" . $this->hashBlock($block) . "\n\n"; } function _doHeaders_callback_atx($matches) { $level = strlen($matches[1]); $attr = $this->_doHeaders_attr($id =& $matches[3]); $class = strtolower(str_replace(" ", "_", $this->runSpanGamut($matches[2]))); - $block = "
".$this->runSpanGamut($matches[2])."
"; + $block = "
".$this->runSpanGamut($matches[2])."
"; return "\n" . $this->hashBlock($block) . "\n\n"; } -- cgit v1.2.3