Index: trunk/wiki2xml/php/mediawiki_converter.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | } |
44 | 44 | $xml = '<article' ; |
45 | 45 | if ( $title != "" ) { |
46 | | - $xml .= " title='{$title}'" ; |
| 46 | + $xml .= ' title="' . htmlspecialchars( $title ) '"' ; |
47 | 47 | $content_provider->add_article ( urldecode ( $ot ) ) ; |
48 | 48 | } |
49 | 49 | $xml .= '>' ; |