1
0
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:
trendschau
2021-07-24 12:00:08 +02:00
parent fcd58a7276
commit 4501f3cbf8
4 changed files with 24 additions and 9 deletions

View File

@@ -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)