summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-27 21:24:52 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-27 21:24:52 (GMT)
commit96fb9a57da7b318f81245ed6f597dcd45f32a727 (patch)
tree54370af52e2f725f792c0ddc3bc57c6084f9274f /Swiften/Parser/LibXMLParser.cpp
parentd197c6b11748a7e98ca8ddacf5f43023f25e667a (diff)
downloadswift-96fb9a57da7b318f81245ed6f597dcd45f32a727.zip
swift-96fb9a57da7b318f81245ed6f597dcd45f32a727.tar.bz2
Fixed LibXML parsing of &amp;
Resolves: #944
Diffstat (limited to 'Swiften/Parser/LibXMLParser.cpp')
-rw-r--r--Swiften/Parser/LibXMLParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Parser/LibXMLParser.cpp b/Swiften/Parser/LibXMLParser.cpp
index 1590262..7e8a093 100644
--- a/Swiften/Parser/LibXMLParser.cpp
+++ b/Swiften/Parser/LibXMLParser.cpp
@@ -69,6 +69,7 @@ LibXMLParser::LibXMLParser(XMLParserClient* client) : XMLParser(client) {
handler_.error = &handleError;
context_ = xmlCreatePushParserCtxt(&handler_, this, 0, 0, 0);
+ xmlCtxtUseOptions(context_, XML_PARSE_NOENT);
assert(context_);
}