is called, fucking the whole
// thing up.
false
);
$text = $ret->getText();
}
global $wgVersion;
if( version_compare( $wgVersion, "1.7alpha" ) >= 0 ) {
// Pass HTML attributes through to the output.
$attribs = Sanitizer::validateTagAttributes( $param, 'div' );
} else {
// Can't guarantee safety on 1.6 or older.
$attribs = array();
}
// Wrap output in a with "poem" class.
if( isset( $attribs['class'] ) ) {
$attribs['class'] = 'poem ' . $attribs['class'];
} else {
$attribs['class'] = 'poem';
}
return wfOpenElement( 'div', $attribs ) .
"\n" .
trim( $text ) .
"\n
";
}
?>