Skip to content

Commit

Permalink
revert to http
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingismagick authored Sep 23, 2019
1 parent 4f21843 commit 6c24348
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mermaidAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ const render = function(id, txt, cb, container) {
.append('svg')
.attr('id', id)
.attr('width', '100%')
.attr('xmlns', 'https://www.w3.org/2000/svg')
.attr('xmlns', 'http://www.w3.org/2000/svg')
.append('g');
} else {
const element = document.querySelector('#' + 'd' + id);
Expand All @@ -440,7 +440,7 @@ const render = function(id, txt, cb, container) {
.append('svg')
.attr('id', id)
.attr('width', '100%')
.attr('xmlns', 'https://www.w3.org/2000/svg')
.attr('xmlns', 'http://www.w3.org/2000/svg')
.append('g');
}

Expand Down Expand Up @@ -535,7 +535,7 @@ const render = function(id, txt, cb, container) {

d3.select(`[id="${id}"]`)
.selectAll('foreignobject > *')
.attr('xmlns', 'https://www.w3.org/1999/xhtml');
.attr('xmlns', 'http://www.w3.org/1999/xhtml');

let url = '';
if (config.arrowMarkerAbsolute) {
Expand Down

0 comments on commit 6c24348

Please sign in to comment.