We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a34ac commit 57d6f2fCopy full SHA for 57d6f2f
src/resources/filters/quarto-pre/content-hidden.lua
@@ -22,10 +22,10 @@ end
22
function attributesMatch(el)
23
local match = true
24
if el.attributes["when-format"] ~= nil then
25
- match = match and quarto.doc.formatMatches(el.attributes["when-format"])
+ match = match and _quarto.format.isFormat(el.attributes["when-format"])
26
end
27
if el.attributes["unless-format"] ~= nil then
28
- match = match and not quarto.doc.formatMatches(el.attributes["unless-format"])
+ match = match and not _quarto.format.isFormat(el.attributes["unless-format"])
29
30
return match
31
0 commit comments