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()
23
23
end
24
24
is_draft = meta [kDraft ] == true or tcontains (drafts , quarto .doc .input_file );
25
25
end ,
26
- Pandoc = function (pandoc )
26
+ Pandoc = function (doc )
27
27
if _quarto .format .isHtmlOutput () and not _quarto .format .isHtmlSlideOutput () then
28
28
if is_draft and draft_mode == kDraftModeGone then
29
- pandoc .blocks = {}
29
+ doc .blocks = pandoc . Blocks {}
30
30
quarto .doc .includeText (" in-header" , ' <meta name="quarto:status" content="' .. kDraftStatusRemove .. ' ">' )
31
- return pandoc
31
+ return doc
32
32
elseif is_draft and draft_mode ~= kDraftModeGone then
33
33
quarto .doc .includeText (" in-header" , ' <meta name="quarto:status" content="' .. kDraftStatusDraft .. ' ">' )
34
- return pandoc
34
+ return doc
35
35
end
36
36
end
37
37
end
38
38
}
39
- end
39
+ end
You can’t perform that action at this time.
0 commit comments