@examind/block-sdk 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -559,7 +559,7 @@ var ParagraphNodeHandler = class extends NodeHandler {
|
|
|
559
559
|
children.push(childString);
|
|
560
560
|
}
|
|
561
561
|
});
|
|
562
|
-
const attribute = node.format ? ` style="text-align: ${ELEMENT_TYPE_TO_FORMAT[node.format]}"` : "";
|
|
562
|
+
const attribute = node.format ? ` style="text-align: ${ELEMENT_TYPE_TO_FORMAT[node.format]};"` : "";
|
|
563
563
|
if (this.shouldAvoidParagraphWrap(metadata?.parentNode))
|
|
564
564
|
if (attribute)
|
|
565
565
|
return `<div${attribute}>${children.join("")}</div>`;
|
package/dist/index.mjs
CHANGED
|
@@ -532,7 +532,7 @@ var ParagraphNodeHandler = class extends NodeHandler {
|
|
|
532
532
|
children.push(childString);
|
|
533
533
|
}
|
|
534
534
|
});
|
|
535
|
-
const attribute = node.format ? ` style="text-align: ${ELEMENT_TYPE_TO_FORMAT[node.format]}"` : "";
|
|
535
|
+
const attribute = node.format ? ` style="text-align: ${ELEMENT_TYPE_TO_FORMAT[node.format]};"` : "";
|
|
536
536
|
if (this.shouldAvoidParagraphWrap(metadata?.parentNode))
|
|
537
537
|
if (attribute)
|
|
538
538
|
return `<div${attribute}>${children.join("")}</div>`;
|