Commit 09626de0 authored by rswindell's avatar rswindell
Browse files

strip_invalid_attr() now converta ^A< to a destructive backspace.

parent 78984210
......@@ -523,6 +523,9 @@ size_t DLLCALL strip_invalid_attr(char *str)
if(str[c+1]==0)
break;
if(!valid_ctrl_a_attr(str[c+1])) {
/* convert non-destructive backspace to a destructive backspace */
if(str[c+1]=='<' && d)
d--;
c++;
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment