diff --git a/shared/sexp/html.py b/shared/sexp/html.py
index 40ea6f4..9aaf61e 100644
--- a/shared/sexp/html.py
+++ b/shared/sexp/html.py
@@ -74,6 +74,12 @@ HTML_TAGS = frozenset({
"img", "picture", "source", "iframe", "embed", "object", "param",
"video", "audio", "track", "canvas", "map", "area",
"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", "thead", "tbody", "tfoot", "tr", "th", "td",
"caption", "colgroup", "col",