mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-14 20:01:04 +03:00
Fix some missing commas in HTML element lists
* HTMLparse.c: fix the macros BLOCK and INLINE to use commas and avoid transparent contatenation of strings
This commit is contained in:
committed by
Daniel Veillard
parent
a7e79f2868
commit
4b41f15dcd
@ -567,9 +567,9 @@ htmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
|
||||
#define NB_PHRASE 10
|
||||
#define SPECIAL "a", "img", "applet", "embed", "object", "font", "basefont", "br", "script", "map", "q", "sub", "sup", "span", "bdo", "iframe"
|
||||
#define NB_SPECIAL 16
|
||||
#define INLINE PCDATA FONTSTYLE PHRASE SPECIAL FORMCTRL
|
||||
#define INLINE FONTSTYLE, PHRASE, SPECIAL, FORMCTRL
|
||||
#define NB_INLINE NB_PCDATA + NB_FONTSTYLE + NB_PHRASE + NB_SPECIAL + NB_FORMCTRL
|
||||
#define BLOCK HEADING, LIST "pre", "p", "dl", "div", "center", "noscript", "noframes", "blockquote", "form", "isindex", "hr", "table", "fieldset", "address"
|
||||
#define BLOCK HEADING, LIST, "pre", "p", "dl", "div", "center", "noscript", "noframes", "blockquote", "form", "isindex", "hr", "table", "fieldset", "address"
|
||||
#define NB_BLOCK NB_HEADING + NB_LIST + 14
|
||||
#define FORMCTRL "input", "select", "textarea", "label", "button"
|
||||
#define NB_FORMCTRL 5
|
||||
|
Reference in New Issue
Block a user