Fixed header generation. Silly mistake.
This commit is contained in:
parent
6ceb7ceb8c
commit
9545615b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ class Markdown implements MarkdownInterface {
|
|||
# id attribute generation
|
||||
$idAtt = $this->_generateIdFromHeaderValue($matches[1]);
|
||||
|
||||
$block = "<h$level$idAtt>".$this->runSpanGamut($matches[2])."</h$level>";
|
||||
$block = "<h$level$idAtt>".$this->runSpanGamut($matches[1])."</h$level>";
|
||||
return "\n" . $this->hashBlock($block) . "\n\n";
|
||||
}
|
||||
protected function _doHeaders_callback_atx($matches) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue