summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filters/headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/headers.lua b/filters/headers.lua
index b7ab542..ea9cde6 100644
--- a/filters/headers.lua
+++ b/filters/headers.lua
@@ -1,5 +1,5 @@
1function Header(el) 1function Header(el)
2 if el.level == 1 then 2 if el.level <= 3 then
3 local newchildren = pandoc.List() 3 local newchildren = pandoc.List()
4 newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' })) 4 newchildren:insert(pandoc.Span(el.content, { class = 's-headings__primary' }))
5 el.content = newchildren 5 el.content = newchildren