diff options
-rwxr-xr-x | notYetAnotherWiki.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 3590af7..7d79304 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -711,7 +711,7 @@ local lunaLinky = function(url) -- Fix up the links. | |||
711 | end | 711 | end |
712 | 712 | ||
713 | function Writer.header(s, level) | 713 | function Writer.header(s, level) |
714 | local text = table.concat(s) | 714 | local text = Lunamark.util.rope_to_string(s) |
715 | return '<h' .. level .. ' id="' .. RE.gsub(text, '{[ ]}', '_') .. '">' .. text .. '</h' .. level .. '>' | 715 | return '<h' .. level .. ' id="' .. RE.gsub(text, '{[ ]}', '_') .. '">' .. text .. '</h' .. level .. '>' |
716 | end | 716 | end |
717 | local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL. | 717 | local OgWriterLink = Writer.link -- So we can call the original from within mine, we are just changing the URL. |