SVG setAttribute "xmlns:xlink" failed
yoonthe opened this issue · comments
Describe the bug
我尝试在子应用的HTML中写入SVG,但是Garfish没有正确处理 svg 属性 xmlns:xlink
;
Reproduction
https://github.com/yoonthe/garfish_bug_svg_xmlns
Used Package Manager
npm
System Info
System:
OS: macOS 12.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 171.33 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v14.19.3/bin/yarn
npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm
Browsers:
Firefox: 88.0.1
Safari: 15.5
npmPackages:
garfish: ^1.13.1 => 1.13.1
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Garfish issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.