smu

Simple markup processor
git clone https://git.sinitax.com/codemadness/smu
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 2181caf0c40f6b97bb424c4d75ae63ade9eb188a
parent 0f3176f7533166f7c497d7f90c306c0159be96f5
Author: Enno Boland <g@s01.de>
Date:   Wed, 20 Jan 2016 23:13:50 +0100

fix shortlinks when -n is not given. #4

Diffstat:
Msmu.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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[] = {