Skip to content

Commit

Permalink
Fix <tspan> inside of <a>
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Feb 24, 2021
1 parent 9263d9a commit 091172a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/_collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ exports.elems = {
'style',
'switch',
'text',
'view'
'view',
// not spec compliant
'tspan',
]
},
altGlyph: {
Expand Down
13 changes: 13 additions & 0 deletions test/plugins/removeUnknownsAndDefaults.15.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 091172a

Please sign in to comment.