--- a/svghmi/gen_index_xhtml.ysl2 Thu Jan 23 13:46:05 2020 +0100
+++ b/svghmi/gen_index_xhtml.ysl2 Thu Jan 30 14:33:06 2020 +0100
@@ -217,7 +217,7 @@
| var hmi_widgets = {
foreach "$hmi_elements" {
const "widget", "func:parselabel(@inkscape:label)/widget";
- | «@id»: {
+ | "«@id»": {
| type: "«$widget/@type»",
| args: [
foreach "$widget/arg"
@@ -263,7 +263,7 @@
| bbox: [«$p/@x», «$p/@y», «$p/@w», «$p/@h»],
| widgets: [
foreach "$page_ids" {
- | hmi_widgets.«.»`if "position()!=last()" > ,`
+ | hmi_widgets["«.»"]`if "position()!=last()" > ,`
}
| ]
| }`if "position()!=last()" > ,`