Skip to content

Commit 6cb08e6

Browse files
authored
Merge pull request #653 from witheve/remove-a-tag-from-svg
we can't have a tags in both the html and svg namespaces at the moment
2 parents 0c8f4aa + 198c716 commit 6cb08e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ var supportedTagsArr = [
155155

156156
// Obtained from https://www.w3.org/TR/SVG/eltindex.html
157157
var svgsArr = [
158-
"a",
158+
// we can't have tags in both the html set and the svg set
159+
// "a",
159160
"altGlyph",
160161
"altGlyphDef",
161162
"altGlyphItem",

0 commit comments

Comments
 (0)