Add SVG child elements (path, circle, rect, etc.) to HTML_TAGS
Fixes EvalError: Undefined symbol: path when rendering ~mobile-filter component which uses an SVG <path> element. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -74,6 +74,12 @@ HTML_TAGS = frozenset({
|
|||||||
"img", "picture", "source", "iframe", "embed", "object", "param",
|
"img", "picture", "source", "iframe", "embed", "object", "param",
|
||||||
"video", "audio", "track", "canvas", "map", "area",
|
"video", "audio", "track", "canvas", "map", "area",
|
||||||
"svg", "math",
|
"svg", "math",
|
||||||
|
# SVG child elements
|
||||||
|
"path", "circle", "ellipse", "line", "polygon", "polyline", "rect",
|
||||||
|
"g", "defs", "use", "text", "tspan", "clipPath", "mask",
|
||||||
|
"linearGradient", "radialGradient", "stop", "filter",
|
||||||
|
"feGaussianBlur", "feOffset", "feMerge", "feMergeNode",
|
||||||
|
"animate", "animateTransform",
|
||||||
# Table
|
# Table
|
||||||
"table", "thead", "tbody", "tfoot", "tr", "th", "td",
|
"table", "thead", "tbody", "tfoot", "tr", "th", "td",
|
||||||
"caption", "colgroup", "col",
|
"caption", "colgroup", "col",
|
||||||
|
|||||||
Reference in New Issue
Block a user