Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -944,7 +944,8 @@ |
945 | 945 | } |
946 | 946 | |
947 | 947 | // wrap the output in a div, to prevent the parser from inserting pararaphs |
948 | | - $out = "<div>\n$out\n</div>"; |
| 948 | + $classes = array_key_exists( 'css', $attributes ) ? "class=\"" . Xml::escapeJsString( $attributes['css'] ) . "\"": ''; |
| 949 | + $out = "<div $classes>\n$out\n</div>"; |
949 | 950 | $out = $parser->recursiveTagParse( $out ); |
950 | 951 | return $out; |
951 | 952 | } |