alonso.torres 65da6b1404 🐛 Repair svg attributes an old reader split into maps
Two dashboard templates, Avataaars and Tutorial for beginners, hold the
filter attribute of some shapes as a map an old reader split out of its
text, as `{:url(#filter_2) nil}` for `url(#filter_2)`. The svg attribute
schema takes only scalars outside `:style`, so their import failed the
file validation after migrating.

Migration 0039 turns such a map back into the reference to one of the
shape's defs it names, matched to the defs id as stored though 0035 may
have kebab-cased the map, and drops any other map value. Both templates
then import valid, with their filters.

The benchmark is not run: the change is a file migration.

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:49 +01:00
..
2022-11-08 13:02:14 +01:00