File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/resources/filters/normalize Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ function normalize_draft()
2323 end
2424 is_draft = meta [kDraft ] == true or tcontains (drafts , quarto .doc .input_file );
2525 end ,
26- Pandoc = function (pandoc )
26+ Pandoc = function (doc )
2727 if _quarto .format .isHtmlOutput () and not _quarto .format .isHtmlSlideOutput () then
2828 if is_draft and draft_mode == kDraftModeGone then
29- pandoc .blocks = {}
29+ doc .blocks = pandoc . Blocks {}
3030 quarto .doc .includeText (" in-header" , ' <meta name="quarto:status" content="' .. kDraftStatusRemove .. ' ">' )
31- return pandoc
31+ return doc
3232 elseif is_draft and draft_mode ~= kDraftModeGone then
3333 quarto .doc .includeText (" in-header" , ' <meta name="quarto:status" content="' .. kDraftStatusDraft .. ' ">' )
34- return pandoc
34+ return doc
3535 end
3636 end
3737 end
3838 }
39- end
39+ end
You can’t perform that action at this time.
0 commit comments