newline stripping works again
This commit is contained in:
parent
fea415180a
commit
bce9fd9eba
1 changed files with 2 additions and 2 deletions
|
@ -468,8 +468,8 @@ process(const char *begin, const char *end) {
|
|||
if(affected)
|
||||
p += affected;
|
||||
else {
|
||||
for(q = p; *q == '\n' && q != end; q++);
|
||||
if(q == end)
|
||||
for(q = p; *q && *q == '\n' && q != end; q++);
|
||||
if(q == end || !*q)
|
||||
return;
|
||||
else if(nohtml)
|
||||
hprint(p,p+1);
|
||||
|
|
Loading…
Add table
Reference in a new issue