Browse Source

scan_html forgot to output '<' when it did not know the tag coming in

master
Felix von Leitner 7 years ago
parent
commit
95999b640a
  1. 3
      textcode/scan_html.c

3
textcode/scan_html.c

@ -66,7 +66,8 @@ size_t scan_html(const char *src,char *dest,size_t *destlen) {
dest[written]='\n'; ++written;
dest[written]='\n';
i+=3;
}
} else
dest[written]=s[i];
} else
dest[written]=s[i];
++written;

Loading…
Cancel
Save