We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f3713 commit d3d874eCopy full SHA for d3d874e
helpers/mu/sparql.js
@@ -73,11 +73,11 @@ function query( queryString ) {
73
const update = query;
74
75
function sparqlEscapeString( value ){
76
- return '"' + value.replace(/[\\"']/, function(match) { return '\\' + match; }) + '"';
+ return '"' + value.replace(/[\\"']/g, function(match) { return '\\' + match; }) + '"';
77
};
78
79
function sparqlEscapeUri( value ){
80
- return '<' + value.replace(/[\\"']/, function(match) { return '\\' + match; }) + '>';
+ return '<' + value.replace(/[\\"']/g, function(match) { return '\\' + match; }) + '>';
81
82
83
function sparqlEscapeInt( value ){
0 commit comments