mirror of
https://github.com/typemill/typemill.git
synced 2025-07-31 03:10:19 +02:00
Version 1.4.7: Fix ampersand error
This commit is contained in:
@@ -341,11 +341,14 @@ class ParsedownExtension extends \ParsedownExtra
|
||||
$Block = array(
|
||||
'element' => array(
|
||||
'name' => 'h' . min(6, $level),
|
||||
'text' => $text,
|
||||
'handler' => 'line',
|
||||
'attributes' => array(
|
||||
'id' => "h-$headline"
|
||||
)
|
||||
'id' => "h-$headline"
|
||||
),
|
||||
'handler' => array(
|
||||
'function' => 'lineElements',
|
||||
'argument' => $text,
|
||||
'destination' => 'elements',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -371,7 +374,7 @@ class ParsedownExtension extends \ParsedownExtra
|
||||
return $Block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# TableOfContents
|
||||
protected function blockTableOfContents($line, $block)
|
||||
|
Reference in New Issue
Block a user