Skip to content

Commit

Permalink
Add SVG elements
Browse files Browse the repository at this point in the history
SVG is now part of HTML 5. Add all the SVG elements from
https://developer.mozilla.org/en-US/docs/Web/SVG/Element with the
exception of "a", "script" and "style" elements.
  • Loading branch information
kensanata authored and kjk committed Jul 30, 2024
1 parent 77f4768 commit 880ee61
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions parser/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,71 @@ var (
"progress": {},
"section": {},
"video": {},

// SVG
// "a": {},
"animate": {},
"animateMotion": {},
"animateTransform": {},
"circle": {},
"clipPath": {},
"defs": {},
"desc": {},
"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": {},
"foreignObject": {},
"g": {},
"image": {},
"line": {},
"linearGradient": {},
"marker": {},
"mask": {},
"metadata": {},
"mpath": {},
"path": {},
"pattern": {},
"polygon": {},
"polyline": {},
"radialGradient": {},
"rect": {},
// "script": {},
"set": {},
"stop": {},
// "style": {},
"svg": {},
"switch": {},
"symbol": {},
"text": {},
"textPath": {},
"title": {},
"tspan": {},
"use": {},
"view": {},
}
)

Expand Down

0 comments on commit 880ee61

Please sign in to comment.