Commit dc0d874f authored by techird's avatar techird

Merge branch 'native-export' of github.com:fex-team/kityminder into native-export

parents e4f8429c 9dd1a09e
...@@ -6,11 +6,11 @@ require_once "Parser.freemind.class.php"; ...@@ -6,11 +6,11 @@ require_once "Parser.freemind.class.php";
class Parser { class Parser {
public static function toXMind ( $source, $previewImage = null ) { public static function toXMind ( $source, $previewImage = null ) {
return XMindParser::parse( $source, $previewImage ); return XMindParser::parse( htmlspecialchars( $source, ENT_NOQUOTES ), $previewImage );
} }
public static function toFreeMind ( $source ) { public static function toFreeMind ( $source ) {
return FreeMindParser::parse( $source ); return FreeMindParser::parse( htmlspecialchars( $source, ENT_NOQUOTES ) );
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment