1
0
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:
trendschau
2021-11-21 15:39:45 +01:00
parent 63c8b204d7
commit 1f06da7b19
9 changed files with 22 additions and 9 deletions

View File

@@ -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];
# ~