mirror of
https://github.com/typemill/typemill.git
synced 2025-07-30 19:00:32 +02:00
Version 1.5.1: Fix code syntax in raw editor, fix codeblocks, fix post errors, load post-vue conditionally
This commit is contained in:
@@ -994,6 +994,11 @@ class ParsedownExtension extends \ParsedownExtra
|
||||
);
|
||||
}
|
||||
|
||||
# keep empty lines in pre-tags
|
||||
if($CurrentBlock['type'] == 'FencedCode' && isset($current['text']))
|
||||
{
|
||||
$current['text'] .= "\n";
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1050,7 +1055,6 @@ class ParsedownExtension extends \ParsedownExtra
|
||||
|
||||
# current block failed to "eat" current line
|
||||
# let's see if we can start a new block
|
||||
|
||||
$marker = $text[0];
|
||||
|
||||
# ~
|
||||
|
Reference in New Issue
Block a user