aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index c5814f3..364030f 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -763,7 +763,7 @@ function Writer.header(s, level)
763 local text = Lunamark.util.rope_to_string(s) 763 local text = Lunamark.util.rope_to_string(s)
764-- FIXME - Work around a bug in Lunamark? 764-- FIXME - Work around a bug in Lunamark?
765 text = RE.gsub(text, "{[\\]}", "") 765 text = RE.gsub(text, "{[\\]}", "")
766 return '<h' .. level .. ' id="' .. RE.gsub(text, '{[ ]}', '_') .. '">' .. text .. ' <a style="font-size: 0.42em;" href="#top">👆</a></h' .. level .. '>' 766 return '<h' .. level .. ' id="' .. RE.gsub(text, '{[ ]}', '_') .. '">' .. text .. ' <a style="font-size: 0.42em;" href="#top">🔼</a></h' .. level .. '>'
767end 767end
768local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL. 768local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL.
769function Writer.link(lab, url, tit) 769function Writer.link(lab, url, tit)