Skip to content

Commit

Permalink
Fixed keyword name.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerline committed Jun 5, 2019
1 parent 3ba00ad commit 877075b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rendermime/src/renderers.ts
Expand Up @@ -419,7 +419,7 @@ export function renderSVG(options: renderSVG.IRenderOptions): Promise<void> {
}

// Add missing SVG namespace (if actually missing)
var patt = '<svg[^>]+xmlns=[^>]+svg';
let patt = '<svg[^>]+xmlns=[^>]+svg';
if (source.search(patt) < 0) {
source = source.replace('<svg', '<svg xmlns="http://www.w3.org/2000/svg"');
}
Expand Down

0 comments on commit 877075b

Please sign in to comment.