Correctly quote spell text contents inside the xml container