diff -r ee0704cc6dc8 -r 079419e7228d svghmi/inline_svg.ysl2 --- a/svghmi/inline_svg.ysl2 Tue Jan 05 01:23:45 2021 +0100 +++ b/svghmi/inline_svg.ysl2 Fri Jan 15 10:11:05 2021 +0100 @@ -37,6 +37,11 @@ error > All units must be set to "px" in Inkscape's document properties } +// remove i18n markers, so that defs_by_labels can find text elements +svgtmpl "svg:text/@inkscape:label[starts-with(., '_')]", mode="inline_svg" { + attrib "{name()}" > «substring(., 2)» +} + ////// Clone unlinking // // svg:use (inkscape's clones) inside a widgets are