1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

const up allowPCData

similar to htmlScriptAttributes
This commit is contained in:
Caolán McNamara
2025-07-24 11:09:29 +01:00
parent 0a4fe2f94a
commit 408bd0e18e

View File

@@ -2143,7 +2143,7 @@ htmlEncodeEntities(unsigned char* out, int *outlen,
* into the html40ElementTable array but I don't want to risk any
* binary incompatibility
*/
static const char *allowPCData[] = {
static const char *const allowPCData[] = {
"a", "abbr", "acronym", "address", "applet", "b", "bdo", "big",
"blockquote", "body", "button", "caption", "center", "cite", "code",
"dd", "del", "dfn", "div", "dt", "em", "font", "form", "h1", "h2",