don't remove comments when -n is set.
This commit is contained in:
parent
5fff5fdbe8
commit
cf7d7b62f2
1 changed files with 1 additions and 1 deletions
2
smu.c
2
smu.c
|
@ -142,7 +142,7 @@ int
|
|||
docomment(const char *begin, const char *end, int newblock) {
|
||||
char *p;
|
||||
|
||||
if(strncmp("<!--", begin, 4))
|
||||
if(nohtml || strncmp("<!--", begin, 4))
|
||||
return 0;
|
||||
p = strstr(begin, "-->");
|
||||
if(!p || p + 3 >= end)
|
||||
|
|
Loading…
Add table
Reference in a new issue