Introduction
Introduction Statistics Contact Development Disclaimer Help
Code blocks should contain the ending newline - smu - smu - simple markup (Mark…
git clone git://git.codemadness.org/smu
Log
Files
Refs
README
LICENSE
---
commit beca8029f4b0bb433a4be950fc3c158b6903765e
parent 0bb70e62b863b7c7e9686ef058835957ae0ead7b
Author: Karl Bartel <[email protected]>
Date: Sun, 29 Sep 2019 17:02:25 +0200
Code blocks should contain the ending newline
See https://spec.commonmark.org/0.29/#example-1
Diffstat:
M smu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/smu.c b/smu.c
@@ -42,8 +42,8 @@ static Parser parsers[] = { dounderline, docomment, dolinepre…
static int nohtml = 0;
static Tag lineprefix[] = {
- { " ", 0, "<pre><code>", "</code></pre>" },
- { "\t", 0, "<pre><code>", "</code></pre>" },
+ { " ", 0, "<pre><code>", "\n</code></pre>" },
+ { "\t", 0, "<pre><code>", "\n</code></pre>" },
{ "> ", 2, "<blockquote>", "</blockquote>…
{ "###### ", 1, "<h6>", "</h6>" },
{ "##### ", 1, "<h5>", "</h5>" },
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.