Just to clarify, inside the XhtmlSaxListener parser function I have changed the block_tags array to the following:
- Code: Select all
["a", "abbr", "acronym", "address", "area", "b",
"base", "bdo", "big", "blockquote", "body", "button",
"caption", "cite", "code", "col", "colgroup", "dd", "del", "div",
"dfn", "dl", "dt", "em", "fieldset", "form", "head", "h1", "h2",
"h3", "h4", "h5", "h6", "html", "i", "iframe", "ins",
"kbd", "label", "legend", "li", "map", "noscript",
"object", "ol", "optgroup", "option", "p", "param", "pre", "q",
"samp", "script", "select", "small", "span", "strong", "style",
"sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th",
"thead", "title", "tr", "tt", "ul", "var", "extends"];
And then in the XhtmlValidator function I have added the following to the _tags array:
- Code: Select all
"iframe":
{
"attributes":[
"class",
"frameborder",
"height",
"id",
"longdesc",
"marginheight",
"marginwidth",
"name",
"scrolling",
"src",
"style",
"title",
"width"
],
"required":[
"src"
]
},
Am I missing anything?
Many thanks