Skip to content

Commit e411ad0

Browse files
author
Markus Pister
committed
Attribute 'type' in tag 'ol' allowed for (X)HTML5
Mark the attribute 'type' as allowed for tag 'ol' in (X)HTML5. The attribute type was deprecated in HTML4. This decision was reverted for HTML5, see https://www.w3.org/TR/2014/NOTE-html5-diff-20141209/#changed-attributes This fixes htacg#1012.
1 parent 14223a9 commit e411ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attrdict.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2321,7 +2321,7 @@ const AttrVersion TY_(W3CAttrsFor_OL)[] =
23212321
{ TidyAttr_START, xxxx|HT32|H40T|H41T|X10T|H40F|H41F|X10F|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 },
23222322
{ TidyAttr_STYLE, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|xxxx|HT50|XH50 }, /* CORE override */
23232323
{ TidyAttr_TITLE, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|HT50|XH50 }, /* CORE override */
2324-
{ TidyAttr_TYPE, xxxx|HT32|H40T|H41T|X10T|H40F|H41F|X10F|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx },
2324+
{ TidyAttr_TYPE, xxxx|HT32|H40T|H41T|X10T|H40F|H41F|X10F|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 },
23252325
{ TidyAttr_XMLNS, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|XH11|XB10|HT50|XH50 }, /* CORE override */
23262326
{ TidyAttr_XML_LANG, xxxx|xxxx|xxxx|xxxx|X10T|xxxx|xxxx|X10F|xxxx|xxxx|X10S|XH11|XB10|xxxx|XH50 }, /* CORE override */
23272327
INCLUDE_CORE_ATTRIBS

0 commit comments

Comments
 (0)