fix shortlinks when -n is not given. #4 - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
(HTM) git clone git://git.codemadness.org/smu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2181caf0c40f6b97bb424c4d75ae63ade9eb188a
(DIR) parent 0f3176f7533166f7c497d7f90c306c0159be96f5
(HTM) Author: Enno Boland <g@s01.de>
Date: Wed, 20 Jan 2016 23:13:50 +0100
fix shortlinks when -n is not given. #4
Diffstat:
M smu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/smu.c b/smu.c
@@ -36,9 +36,9 @@ static void hprint(const char *begin, const char *end); /* esc
static void process(const char *begin, const char *end, int isblock); /* Processes range between begin and end. */
/* list of parsers */
-static Parser parsers[] = { dounderline, dohtml, docomment, dolineprefix,
+static Parser parsers[] = { dounderline, docomment, dolineprefix,
dolist, doparagraph, dogtlt, dosurround, dolink,
- doshortlink, doamp, doreplace };
+ doshortlink, dohtml, doamp, doreplace };
static int nohtml = 0;
static Tag lineprefix[] = {