Added code to detect Unicode characters as HTML
This commit is contained in:
1 parent
f9c50b6ff5
commit
8ccc404180
2 files changed
+6
-1
No files matched your search
+1
-1
Submodule mxml updated: 9c763a0e87...15c5f5c676.
@@ -5724,6 +5724,11 @@ int is_html(char *s)
|
||||
}
|
||||
}
|
||||
|
||||
if (strstr(str, "&#") && strchr(strstr(str, "&#"), ';')) {
|
||||
xfree(str);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
xfree(str);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user