summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/markdown/markdown.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/markdown/markdown.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/markdown/markdown.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/luatex/markdown/markdown.lua b/Master/texmf-dist/tex/luatex/markdown/markdown.lua
index c62b5ed8b95..a8e6ce7f9e5 100644
--- a/Master/texmf-dist/tex/luatex/markdown/markdown.lua
+++ b/Master/texmf-dist/tex/luatex/markdown/markdown.lua
@@ -58,7 +58,7 @@
-- those in the standard .ins files.
--
local metadata = {
- version = "2.1.1",
+ version = "2.1.2",
comment = "A module for the conversion from markdown to plain TeX",
author = "John MacFarlane, Hans Hagen, Vít Novotný",
copyright = "2009-2016 John MacFarlane, Hans Hagen; 2016 Vít Novotný",
@@ -545,11 +545,11 @@ function M.reader.new(writer, options)
end
local bulletchar = C(plus + asterisk + dash)
- local bullet = ( bulletchar * #spacing * (tab + space^-3)
- + space * bulletchar * #spacing * (tab + space^-2)
- + space * space * bulletchar * #spacing * (tab + space^-1)
- + space * space * space * bulletchar * #spacing
- ) * -bulletchar
+ local bullet = ( Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-3)
+ + space * Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-2)
+ + space * space * Cg(bulletchar, "bulletchar") * #spacing * (tab + space^-1)
+ + space * space * space * Cg(bulletchar, "bulletchar") * #spacing
+ )
if options.hashEnumerators then
dig = digit + hash