replace htmlspecialchars() with call to Convert::raw2xml()