Skip to content

Instantly share code, notes, and snippets.

@lizheming
Created June 29, 2019 08:09
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lizheming/1b69b00d8575047b0b9b4a0f739ee0b4 to your computer and use it in GitHub Desktop.
Save lizheming/1b69b00d8575047b0b9b4a0f739ee0b4 to your computer and use it in GitHub Desktop.
SVG allowed tags
[
"br",
"div",
"span",
"font",
"b",
"a",
"altglyph",
"altglyphdef",
"altglyphitem",
"animate",
"animatecolor",
"animatemotion",
"animatetransform",
"circle",
"clippath",
"color-profile",
"cursor",
"defs",
"desc",
"discard",
"ellipse",
"feblend",
"fecolormatrix",
"fecomponenttransfer",
"fecomposite",
"feconvolvematrix",
"fediffuselighting",
"fedisplacementmap",
"fedistantlight",
"fedropshadow",
"feflood",
"fefunca",
"fefuncb",
"fefuncg",
"fefuncr",
"fegaussianblur",
"feimage",
"femerge",
"femergenode",
"femorphology",
"feoffset",
"fepointlight",
"fespecularlighting",
"fespotlight",
"fetile",
"feturbulence",
"filter",
"font",
"font-face",
"font-face-format",
"font-face-name",
"font-face-src",
"font-face-uri",
"foreignobject",
"g",
"glyph",
"glyphref",
"hatch",
"hatchpath",
"hkern",
"image",
"line",
"lineargradient",
"marker",
"mask",
"mesh",
"meshgradient",
"meshpatch",
"meshrow",
"metadata",
"missing-glyph",
"mpath",
"path",
"pattern",
"polygon",
"polyline",
"radialgradient",
"rect",
"set",
"solidcolor",
"stop",
"style",
"svg",
"switch",
"symbol",
"text",
"textpath",
"title",
"tref",
"tspan",
"unknown",
"use",
"view",
"vkern",
"animate",
"animatecolor",
"animatemotion",
"animatetransform",
"discard",
"mpath",
"set",
"circle",
"ellipse",
"line",
"polygon",
"polyline",
"rect",
"a",
"defs",
"g",
"marker",
"mask",
"missing-glyph",
"pattern",
"svg",
"switch",
"symbol",
"unknown",
"desc",
"metadata",
"title",
"feblend",
"fecolormatrix",
"fecomponenttransfer",
"fecomposite",
"feconvolvematrix",
"fediffuselighting",
"fedisplacementmap",
"fedropshadow",
"feflood",
"fefunca",
"fefuncb",
"fefuncg",
"fefuncr",
"fegaussianblur",
"feimage",
"femerge",
"femergenode",
"femorphology",
"feoffset",
"fespecularlighting",
"fetile",
"feturbulence",
"font",
"font-face",
"font-face-format",
"font-face-name",
"font-face-src",
"font-face-uri",
"hkern",
"vkern",
"lineargradient",
"meshgradient",
"radialgradient",
"stop",
"circle",
"ellipse",
"image",
"line",
"mesh",
"path",
"polygon",
"polyline",
"rect",
"text",
"use",
"mesh",
"use",
"fedistantlight",
"fepointlight",
"fespotlight",
"clippath",
"defs",
"hatch",
"lineargradient",
"marker",
"mask",
"meshgradient",
"metadata",
"pattern",
"radialgradient",
"script",
"style",
"symbol",
"title",
"hatch",
"lineargradient",
"meshgradient",
"pattern",
"radialgradient",
"solidcolor",
"a",
"circle",
"ellipse",
"foreignobject",
"g",
"image",
"line",
"mesh",
"path",
"polygon",
"polyline",
"rect",
"svg",
"switch",
"symbol",
"text",
"textpath",
"tspan",
"unknown",
"use",
"circle",
"ellipse",
"line",
"mesh",
"path",
"polygon",
"polyline",
"rect",
"defs",
"g",
"svg",
"symbol",
"use",
"altglyph",
"altglyphdef",
"altglyphitem",
"glyph",
"glyphref",
"textpath",
"text",
"tref",
"tspan",
"altglyph",
"textpath",
"tref",
"tspan",
"clippath",
"color-profile",
"cursor",
"filter",
"foreignobject",
"hatchpath",
"meshpatch",
"meshrow",
"script",
"style",
"view"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment