Correctly quote spell text contents inside the xml container

pull/88/head
Thomas Bruederli 11 years ago
parent 4279dd18ee
commit cbb695a6de

@ -354,7 +354,7 @@ class rcube_spellchecker
$gtext = '<?xml version="1.0" encoding="utf-8" ?>'
.'<spellrequest textalreadyclipped="0" ignoredups="0" ignoredigits="1" ignoreallcaps="1">'
.'<text>' . $gtext . '</text>'
.'<text>' . htmlspecialchars($gtext) . '</text>'
.'</spellrequest>';
$store = '';

Loading…
Cancel
Save