diff --git a/src/sbbs3/js_global.c b/src/sbbs3/js_global.c index cdc859c53db2745fbf87acd668105f1326c9dc7a..bd8b4c7e5960f6ccaecaffb4ea0f9cdd3f0849d3 100644 --- a/src/sbbs3/js_global.c +++ b/src/sbbs3/js_global.c @@ -1072,7 +1072,7 @@ js_html_encode(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rva free(tmpbuf); return(JS_FALSE); } - j=sprintf(outbuf,"<span style=\"%s\">",htmlansi[7],htmlansi[7]); + j=sprintf(outbuf,"<span style=\"%s\">",htmlansi[7]); clear_screen=j; for(i=0;tmpbuf[i];i++) { if(j>(obsize/2)) /* Completely arbitrary here... must be carefull with this eventually ToDo */