Index: trunk/extensions/Poem/Poem.php |
— | — | @@ -71,14 +71,7 @@ |
72 | 72 | $text = $ret->getText(); |
73 | 73 | } |
74 | 74 | |
75 | | - global $wgVersion; |
76 | | - if( version_compare( $wgVersion, "1.7alpha" ) >= 0 ) { |
77 | | - // Pass HTML attributes through to the output. |
78 | | - $attribs = Sanitizer::validateTagAttributes( $param, 'div' ); |
79 | | - } else { |
80 | | - // Can't guarantee safety on 1.6 or older. |
81 | | - $attribs = array(); |
82 | | - } |
| 75 | + $attribs = Sanitizer::validateTagAttributes( $param, 'div' ); |
83 | 76 | |
84 | 77 | // Wrap output in a <div> with "poem" class. |
85 | 78 | if( isset( $attribs['class'] ) ) { |