diff --git a/assets/js/distillpub/template.v2.js b/assets/js/distillpub/template.v2.js index 3daca658..a622c553 100644 --- a/assets/js/distillpub/template.v2.js +++ b/assets/js/distillpub/template.v2.js @@ -4243,7 +4243,7 @@ ${css} if (this.hasAttribute("block")) { // normalize the tab indents - content = content.replace(/\n/, ""); + content = content.replace(/\n/g, ""); const tabs = content.match(/\s*/); content = content.replace(new RegExp("\n" + tabs, "g"), "\n"); content = content.trim();