I have several tags, including "iframe", that are defined as being allowed html
tags in the $htmlattrs variable in Parser.php.
http://meta.wikimedia.org/wiki/HTML#Permitted_HTML
However, when i try to draw the page, these values are escaped, and not returned
as html tags. See this example:
http://www.tmbw.net/wiki/index.php/Template:Song_Nav_Stub
According to all documentation i can find, i am doing it correctly. Here's the
example from my Parser.php file:
function getHTMLattrs () {
$htmlattrs = array( # Allowed attributes--no scripting, etc. 'title', 'align', 'lang', 'dir', 'width', 'height', 'bgcolor', 'clear', /* BR */ 'noshade', /* HR */ 'cite', /* BLOCKQUOTE, Q */ 'size', 'face', 'color', /* FONT */ 'type', 'start', 'value', 'compact', /* For various lists, mostly deprecated but safe */ 'summary', 'width', 'border', 'frame', 'rules', 'cellspacing', 'cellpadding', 'valign', 'char', 'charoff', 'colgroup', 'col', 'span', 'abbr', 'axis', 'headers', 'scope', 'rowspan', 'colspan', /* Tables */ 'id', 'class', 'name', 'style', 'iframe', 'src', 'frameborder', 'scrolling' ); return $htmlattrs ;
Version: 1.4.x
Severity: normal
URL: http://www.tmbw.net/wiki/index.php/Template:Song_Nav_Stub