mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added code to detect Unicode characters as HTML
This commit is contained in:
parent
f9c50b6ff5
commit
8ccc404180
2
mxml
2
mxml
@ -1 +1 @@
|
||||
Subproject commit 9c763a0e8797c6e30b9e3a2765b1f47b300a9f6b
|
||||
Subproject commit 15c5f5c6764f99e9974c6ea40f5a58f2d21285d6
|
||||
@ -5724,6 +5724,11 @@ int is_html(char *s)
|
||||
}
|
||||
}
|
||||
|
||||
if (strstr(str, "&#") && strchr(strstr(str, "&#"), ';')) {
|
||||
xfree(str);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
xfree(str);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user