--- a/svghmi/widgets_common.ysl2 Tue Jan 26 11:14:22 2021 +0100
+++ b/svghmi/widgets_common.ysl2 Tue Jan 26 11:17:08 2021 +0100
@@ -289,7 +289,7 @@
const "excluded_types", "str:split('Page Lang VarInit')";
-const "included_ids","$parsed_widgets/widget[not(@type = $excluded_types)]/@id";
+const "included_ids","$parsed_widgets/widget[not(@type = $excluded_types) and not(@id = $discardable_elements/@id)]/@id"; emit "declarations:hmi-elements" {