Index: trunk/extensions/ExternalData/ED_Utils.php |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | |
211 | 211 | // Remove comments from XML - for some reason, xml_parse() |
212 | 212 | // can't handle them. |
213 | | - $xml = preg_replace( '/<!--.*?-->/', '', $xml ); |
| 213 | + $xml = preg_replace( '/<!--.*?-->/s', '', $xml ); |
214 | 214 | |
215 | 215 | $xml_parser = xml_parser_create(); |
216 | 216 | xml_set_element_handler( $xml_parser, array( 'EDUtils', 'startElement' ), array( 'EDUtils', 'endElement' ) ); |