File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,6 +105,25 @@ export interface Options {
105105 */
106106 omitQuotes ?: boolean ;
107107
108+ /**
109+ * When `true` (the default), the generated template output drops the
110+ * whitespace between a quoted attribute and the next attribute
111+ * (`<svg width="12"height="13">`). This preserves upstream behavior and
112+ * relies on the browser's HTML parser to tolerate the missing space.
113+ *
114+ * Set to `false` when targeting strict parsers (e.g. XML/SVG-only or
115+ * game-engine browser-likes such as Coherent Gameface) that reject the
116+ * resulting markup; the output will then contain a regular space between
117+ * attributes (`<svg width="12" height="13">`).
118+ *
119+ * Requires `babel-plugin-jsx-dom-expressions` / `babel-preset-solid`
120+ * versions that understand the `omitAttributeSpacing` option; older
121+ * versions silently ignore the flag.
122+ *
123+ * @default true
124+ */
125+ omitAttributeSpacing ?: boolean ;
126+
108127 /**
109128 * The name of the runtime module to import the methods from.
110129 *
You can’t perform that action at this time.
0 commit comments