Skip to content
Snippets Groups Projects
Commit 5e3768be authored by deuce's avatar deuce
Browse files

Add support for char 127 (Delete/little house pic) Not sure if this is

actually SUPPOSED to be displayed so it's disabled right now...

Does anyone know for sure?
parent 457ebbf6
No related branches found
No related tags found
No related merge requests found
......@@ -908,6 +908,10 @@ js_html_encode(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rva
}
else if(inbuf[i]>=' ' && inbuf[i]<DEL)
tmpbuf[j++]=inbuf[i];
#if 0 /* ASCII 127 - Not displayed? */
else if(inbuf[i]==DEL && exascii)
j+=sprintf(tmpbuf+j,"&#8962;",exasctbl[ch].value);
#endif
else if(inbuf[i]<' ') /* unknown control chars */
{
if(ansi && inbuf[i]==ESC)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment