Simon: fix invalid XML on export due to quotation marks in URI

This commit is contained in:
aurimasv 2012-04-27 00:29:02 -05:00
parent a381062621
commit 23fa1241ab

View file

@ -660,7 +660,7 @@ __Serializer.prototype.statementsToXML = function(sts) {
function escapeForXML(str) {
if (typeof str == 'undefined') return '@@@undefined@@@@';
return str.replace(/&/g, '&amp;').replace(/</g, '&lt;')
return str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/"/g, '&quot;');
}
function relURI(term) {