diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2020-11-16 19:45:19 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2020-11-16 19:45:19 +0300 |
| commit | 2d26d28c8f891bae27bf075b443b1e82185e4a37 (patch) | |
| tree | c8e136490e16f2388e5927f9a54738978b0987fb /tests/formatted_posts/2020-11-12-8.md | |
| parent | 767dc7f6954a66e187e5eefc36c21868048e04fc (diff) | |
| download | tg2md-2d26d28c8f891bae27bf075b443b1e82185e4a37.tar.gz tg2md-2d26d28c8f891bae27bf075b443b1e82185e4a37.zip | |
fix formatted text parsing
earlier, situations when there were strings like 'bold\ntext\n' that
needed to be treated as bold text were converted in a wrong way (e.g.
like '**bold\ntext\n**', which is breaking markup because of newline
characters before closing asterisks), but now it's kind of fixed.
also there's now support for emails and <pre> blocks.
Diffstat (limited to 'tests/formatted_posts/2020-11-12-8.md')
| -rw-r--r-- | tests/formatted_posts/2020-11-12-8.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/formatted_posts/2020-11-12-8.md b/tests/formatted_posts/2020-11-12-8.md new file mode 100644 index 0000000..0b30a03 --- /dev/null +++ b/tests/formatted_posts/2020-11-12-8.md @@ -0,0 +1,11 @@ +--- +title: 8 +date: 2020-11-12 13:02:35 +tag: None +layout: post +--- + + +<audio controls> + <source src="/files/test-sound.ogg" type="audio/x-vorbis+ogg"> + </audio> |
