summaryrefslogtreecommitdiff
path: root/filters
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 16:08:52 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 16:08:52 +0200
commita7e230c2dba72eebf4cf09b848b960cb29304d00 (patch)
treed25e7afe0a368fb523d1aea4aca29b8af6b31e54 /filters
parentfc6a961ad0429f082912c37431ed3e71510c6dfb (diff)
Don't insert ¶ by itself, use CSS :before for that
Diffstat (limited to 'filters')
-rw-r--r--filters/anchored-h.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/anchored-h.lua b/filters/anchored-h.lua
index 7d80121..bc77da6 100644
--- a/filters/anchored-h.lua
+++ b/filters/anchored-h.lua
@@ -1,6 +1,6 @@
if FORMAT:match 'html' then
function Header(el)
- local l = pandoc.Link("¶", "#"..el.identifier)
+ local l = pandoc.Link("", "#"..el.identifier)
l.classes[1]="anchor"
el.content[#el.content+1] = pandoc.Space()
el.content[#el.content+1] = l