aboutsummaryrefslogtreecommitdiffstats
path: root/tests/formatted_posts/2020-11-12-7.md
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-11-16 19:45:19 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-11-16 19:45:19 +0300
commit2d26d28c8f891bae27bf075b443b1e82185e4a37 (patch)
treec8e136490e16f2388e5927f9a54738978b0987fb /tests/formatted_posts/2020-11-12-7.md
parent767dc7f6954a66e187e5eefc36c21868048e04fc (diff)
downloadtg2md-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-7.md')
-rw-r--r--tests/formatted_posts/2020-11-12-7.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/formatted_posts/2020-11-12-7.md b/tests/formatted_posts/2020-11-12-7.md
new file mode 100644
index 0000000..5a9e6ec
--- /dev/null
+++ b/tests/formatted_posts/2020-11-12-7.md
@@ -0,0 +1,11 @@
+---
+title: 7
+date: 2020-11-12 13:01:05
+tag: None
+layout: post
+---
+
+
+<audio controls>
+ <source src="/files/audio_1@12-11-2020_13-01-05.ogg" type="audio/ogg">
+ </audio>