diff options
author | dvs1 | 2025-03-20 20:28:27 +1000 |
---|---|---|
committer | dvs1 | 2025-03-20 20:28:27 +1000 |
commit | d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b (patch) | |
tree | 4d565324c69e39f9f477fbc7bb00c681754140bc /notYetAnotherWiki.lua | |
parent | Minor TODO tweaks. (diff) | |
download | notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.zip notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.tar.gz notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.tar.bz2 notYetAnotherWiki-d7acdfd67f05aaf68381f9372fc960c4e8f5dd6b.tar.xz |
A better symbol for going up to the top.
Diffstat (limited to 'notYetAnotherWiki.lua')
-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) |