Merge pull request #37 from e98cuenc/input-html5
Accept HTML5 input types.
This commit is contained in:
commit
491f3df396
|
@ -1811,9 +1811,11 @@ void CheckLang( TidyDocImpl* doc, Node *node, AttVal *attval)
|
||||||
/* checks type attribute */
|
/* checks type attribute */
|
||||||
void CheckType( TidyDocImpl* doc, Node *node, AttVal *attval)
|
void CheckType( TidyDocImpl* doc, Node *node, AttVal *attval)
|
||||||
{
|
{
|
||||||
ctmbstr const valuesINPUT[] = {"text", "password", "checkbox", "radio",
|
ctmbstr const valuesINPUT[] = {
|
||||||
"submit", "reset", "file", "hidden",
|
"text", "password", "checkbox", "radio", "submit", "reset", "file",
|
||||||
"image", "button", NULL};
|
"hidden", "image", "button", "color", "date", "datetime",
|
||||||
|
"datetime-local", "email", "month", "number", "range", "search",
|
||||||
|
"tel", "time", "url", "week", NULL};
|
||||||
ctmbstr const valuesBUTTON[] = {"button", "submit", "reset", NULL};
|
ctmbstr const valuesBUTTON[] = {"button", "submit", "reset", NULL};
|
||||||
ctmbstr const valuesUL[] = {"disc", "square", "circle", NULL};
|
ctmbstr const valuesUL[] = {"disc", "square", "circle", NULL};
|
||||||
ctmbstr const valuesOL[] = {"1", "a", "i", NULL};
|
ctmbstr const valuesOL[] = {"1", "a", "i", NULL};
|
||||||
|
|
Loading…
Reference in a new issue