summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/markdown/markdown-cli.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/markdown/markdown-cli.lua')
-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")