Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/dok.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2012-01-26 15:18:32 +0400
committerRonan Collobert <ronan@collobert.com>2012-01-26 15:18:32 +0400
commit2a14c8223f3d6b8a1cd0760494536822e6a6e9a9 (patch)
treee174efde23a57e4a916ea637b12b6ea1eb9429b6
parent96728e58b2a57d930023031b367a0c967c70d40d (diff)
initial commit of luajit
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 4f7de2d..aec89fa 100644
--- a/init.lua
+++ b/init.lua
@@ -297,7 +297,7 @@ function dok.dok2html(txt)
txt = txt:gsub('%(%((.-)%)%)', function(str)
table.insert(foot, str)
- return '\002sup\003\002a href="#footnote-' .. #foot .. '"\003' .. #foot .. ')\002\/a\003\002/sup\003'
+ return '\002sup\003\002a href="#footnote-' .. #foot .. '"\003' .. #foot .. ')\002/a\003\002/sup\003'
end)
txt = txt:gsub('%*%*(.-)%*%*', '\002b\003%1\002/b\003')