We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1c68db + 16c5496 commit fad79a0Copy full SHA for fad79a0
src/project/types/book/book-render.ts
@@ -361,11 +361,11 @@ async function mergeExecutedFiles(
361
const idStr = attr.id !== "" ? `#${attr.id} ` : "";
362
const clzStr = attr.classes.map((clz) => {
363
return `.${clz} `;
364
- });
+ }).join("");
365
const keyValueStr = attr.keyvalue.map((kv) => {
366
const escapedValue = kv[1].replaceAll(/"/gm, '\\"');
367
return `${kv[0]}="${escapedValue}" `;
368
369
const attrContents = `${idStr}${clzStr}${keyValueStr}`.trim();
370
attrStr = `{${attrContents}}`;
371
}
0 commit comments