diff options
Diffstat (limited to 'ws2a/bugcomment.c')
| -rw-r--r-- | ws2a/bugcomment.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c index afd0e6c..eeba8fe 100644 --- a/ws2a/bugcomment.c +++ b/ws2a/bugcomment.c @@ -27,6 +27,11 @@ char* replaceHTML(char* str){ nstr[nstrp] = (char)hex; nstrp++; strp+=3; + }else if(str[strp] == '\n'){ + nstr[nstrp] = '\\'; + nstr[nstrp+1] = 'n'; + nstrp+=2; + strp++; }else{ nstr[nstrp] = str[strp]; nstrp++; |
