diff options
-rwxr-xr-x | notYetAnotherWiki.lua | 2 |
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 .. '>' |
767 | end | 767 | end |
768 | local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL. | 768 | local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL. |
769 | function Writer.link(lab, url, tit) | 769 | function Writer.link(lab, url, tit) |