mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 18:54:55 +00:00
Paste renamed a pasted SVG filter to a name no filter of the document held, but an effect could still use that name, for example after its filter was deleted. Defining a filter of that name later changed both effects. Paste now also skips the names the document's effects use, read only when a pasted filter needs a new name. A new name with a tab, line feed or carriage return was written into the filter's id as is, which XML reads as a space, so the id no longer matched the effect's name. svg_filter::with_id now writes those characters as character references, and paste takes a name only when the filter's id reads back as that name.