fix shortlinks when -n is not given. #4

This commit is contained in:
Enno Boland 2016-01-20 23:13:50 +01:00
parent 0f3176f753
commit 2181caf0c4

4
smu.c
View file

@ -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. */ static void process(const char *begin, const char *end, int isblock); /* Processes range between begin and end. */
/* list of parsers */ /* list of parsers */
static Parser parsers[] = { dounderline, dohtml, docomment, dolineprefix, static Parser parsers[] = { dounderline, docomment, dolineprefix,
dolist, doparagraph, dogtlt, dosurround, dolink, dolist, doparagraph, dogtlt, dosurround, dolink,
doshortlink, doamp, doreplace }; doshortlink, dohtml, doamp, doreplace };
static int nohtml = 0; static int nohtml = 0;
static Tag lineprefix[] = { static Tag lineprefix[] = {