fix invalid XML on export due to quotation marks in URI
This commit is contained in:
parent
e01aa91e49
commit
43670e3d4c
|
@ -566,7 +566,7 @@ __Serializer.prototype.statementsToXML = function(sts) {
|
|||
|
||||
function escapeForXML(str) {
|
||||
if (typeof str == 'undefined') return '@@@undefined@@@@';
|
||||
return str.replace(/&/g, '&').replace(/</g, '<')
|
||||
return str.replace(/&/g, '&').replace(/</g, '<').replace(/"/g, '"');
|
||||
}
|
||||
|
||||
function relURI(term) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user