Skip to content

Commit e111485

Browse files
committed
Revert "remove confluence workaround since it's not needed anymore" (this regressed confluence publishing)
This reverts commit 789162f.
1 parent 90852f2 commit e111485

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/command/render/pandoc.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,14 @@ export async function runPandoc(
707707
formatFilterParams["custom-writer"] = allDefaults.to;
708708
allDefaults.to = resourcePath("filters/customwriter/customwriter.lua");
709709
}
710+
if (Deno.env.get("QUARTO_ALLENMANNING_WORKAROUND_CONFLUENCE") === undefined) {
711+
if (allDefaults.writer?.match(/[.]lua$/)) {
712+
formatFilterParams["custom-writer"] = allDefaults.writer;
713+
allDefaults.writer = resourcePath(
714+
"filters/customwriter/customwriter.lua",
715+
);
716+
}
717+
}
710718

711719
// set up the custom .qmd reader
712720
if (allDefaults.from) {

0 commit comments

Comments
 (0)