Commit 52d39c1 1 parent 55ddff0 commit 52d39c1 Copy full SHA for 52d39c1
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ import { kJatsSubarticle } from "../../format/jats/format-jats-types.ts";
87
87
import { shortUuid } from "../../core/uuid.ts" ;
88
88
import { isServerShinyPython } from "../../core/render.ts" ;
89
89
import { pythonExec } from "../../core/jupyter/exec.ts" ;
90
+ import { encode as base64Encode } from "encoding/base64.ts" ;
90
91
91
92
const kQuartoParams = "quarto-params" ;
92
93
@@ -682,7 +683,7 @@ function initFilterParams(dependenciesFile: string) {
682
683
Deno . env . set ( "QUARTO_WIN_CODEPAGE" , value ) ;
683
684
}
684
685
}
685
- Deno . env . set ( "QUARTO_FILTER_DEPENDENCY_FILE" , dependenciesFile ) ;
686
+ Deno . env . set ( "QUARTO_FILTER_DEPENDENCY_FILE" , base64Encode ( dependenciesFile ) ) ;
686
687
return params ;
687
688
}
688
689
Original file line number Diff line number Diff line change @@ -1493,7 +1493,7 @@ local function dependenciesFile()
1493
1493
if dependenciesFile == nil then
1494
1494
error (' Missing expected dependency file environment variable QUARTO_FILTER_DEPENDENCY_FILE' )
1495
1495
else
1496
- return pandoc . utils . stringify (dependenciesFile )
1496
+ return quarto . base64 . decode (dependenciesFile )
1497
1497
end
1498
1498
end
1499
1499
You can’t perform that action at this time.
0 commit comments