summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/markdown
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-22 20:48:39 +0000
committerKarl Berry <karl@freefriends.org>2020-03-22 20:48:39 +0000
commitf64715886f780dbe1414b1b35a55b6177de54022 (patch)
tree5914ba3bedf74454954636a1c0943f7e4b41fda3 /Master/texmf-dist/scripts/markdown
parent9947618e08e485b167afd30d95013b105eac7ad3 (diff)
markdown (22mar20)
git-svn-id: svn://tug.org/texlive/trunk@54482 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/markdown')
-rw-r--r--Master/texmf-dist/scripts/markdown/markdown-cli.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/markdown/markdown-cli.lua b/Master/texmf-dist/scripts/markdown/markdown-cli.lua
index 96a06753132..6f6d10091b7 100644
--- a/Master/texmf-dist/scripts/markdown/markdown-cli.lua
+++ b/Master/texmf-dist/scripts/markdown/markdown-cli.lua
@@ -20,7 +20,7 @@
-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--
--- Copyright (C) 2016-2019 Vít Novotný
+-- Copyright (C) 2016-2020 Vít Novotný
--
-- This work may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either version 1.3
@@ -58,11 +58,11 @@
-- those in the standard .ins files.
--
local metadata = {
- version = "2.8.1",
+ version = "2.8.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-2019 Vít Novotný"},
+ "2016-2020 Vít Novotný"},
license = "LPPL 1.3"
}
@@ -190,7 +190,7 @@ if metadata.version ~= md.metadata.version then
"markdown.lua " .. md.metadata.version .. ".")
end
local convert = md.new(options)
-local output = convert(input:gsub("\r\n?", "\n"))
+local output = convert(input:gsub("\r\n?", "\n") .. "\n")
if output_filename then
local output_file = io.open(output_filename, "w")