1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Limit generated headlines to h6

This commit is contained in:
Jannik Zschiesche
2014-08-25 21:06:03 +02:00
parent 9437766539
commit 512cc1f065
3 changed files with 4 additions and 1 deletions

View File

@@ -279,7 +279,7 @@ class Parsedown
$Block = array(
'element' => array(
'name' => 'h'.$level,
'name' => 'h' . min(6, $level),
'text' => $text,
'handler' => 'line',
),