File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -707,9 +707,13 @@ export async function runPandoc(
707707 formatFilterParams [ "custom-writer" ] = allDefaults . to ;
708708 allDefaults . to = resourcePath ( "filters/customwriter/customwriter.lua" ) ;
709709 }
710- if ( allDefaults . writer ?. match ( / [ . ] l u a $ / ) ) {
711- formatFilterParams [ "custom-writer" ] = allDefaults . writer ;
712- allDefaults . writer = resourcePath ( "filters/customwriter/customwriter.lua" ) ;
710+ if ( Deno . env . get ( "QUARTO_ALLENMANNING_WORKAROUND_CONFLUENCE" ) === undefined ) {
711+ if ( allDefaults . writer ?. match ( / [ . ] l u a $ / ) ) {
712+ formatFilterParams [ "custom-writer" ] = allDefaults . writer ;
713+ allDefaults . writer = resourcePath (
714+ "filters/customwriter/customwriter.lua" ,
715+ ) ;
716+ }
713717 }
714718
715719 // set parameters required for filters (possibily mutating all of it's arguments
You can’t perform that action at this time.
0 commit comments