fix invalid XML on export due to quotation marks in URI
This commit is contained in:
parent
e01aa91e49
commit
43670e3d4c
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ __Serializer.prototype.statementsToXML = function(sts) {
|
||||||
|
|
||||||
function escapeForXML(str) {
|
function escapeForXML(str) {
|
||||||
if (typeof str == 'undefined') return '@@@undefined@@@@';
|
if (typeof str == 'undefined') return '@@@undefined@@@@';
|
||||||
return str.replace(/&/g, '&').replace(/</g, '<')
|
return str.replace(/&/g, '&').replace(/</g, '<').replace(/"/g, '"');
|
||||||
}
|
}
|
||||||
|
|
||||||
function relURI(term) {
|
function relURI(term) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue