File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ import { quartoConfig } from "../../core/quarto.ts";
8585import { metadataNormalizationFilterActive } from "./normalize.ts" ;
8686import { kCodeAnnotations } from "../../format/html/format-html-shared.ts" ;
8787import { projectOutputDir } from "../../project/project-shared.ts" ;
88- import { relative } from "../../deno_ral/path.ts" ;
88+ import { join , relative } from "../../deno_ral/path.ts" ;
8989import { citeIndexFilterParams } from "../../project/project-cites.ts" ;
9090import { debug } from "../../deno_ral/log.ts" ;
9191import { kJatsSubarticle } from "../../format/jats/format-jats-types.ts" ;
@@ -746,14 +746,17 @@ export async function resolveFilters(
746746 . filter ( ( f ) => f !== "quarto" ) // remove quarto marker
747747 . map ( ( filter , i ) => {
748748 if ( isFilterEntryPoint ( filter ) ) {
749- return filter ; // send entry-point-style filters unchanged
749+ return {
750+ ...filter ,
751+ path : join ( options . project . dir , filter . path ) ,
752+ } ; // send entry-point-style filters unchanged
750753 }
751754 const at = quartoLoc > i ? kQuartoPre : kQuartoPost ;
752755 const result : QuartoFilterEntryPoint = typeof filter === "string"
753756 ? {
754757 "at" : at ,
755758 "type" : filter . endsWith ( ".lua" ) ? "lua" : "json" ,
756- "path" : filter ,
759+ "path" : join ( options . project . dir , filter ) ,
757760 }
758761 : {
759762 "at" : at ,
You can’t perform that action at this time.
0 commit comments