diff options
Diffstat (limited to 'tex/context/base/cldf-ver.lua')
-rw-r--r-- | tex/context/base/cldf-ver.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/cldf-ver.lua b/tex/context/base/cldf-ver.lua index 120bc468a..54cc6a58b 100644 --- a/tex/context/base/cldf-ver.lua +++ b/tex/context/base/cldf-ver.lua @@ -15,7 +15,7 @@ local tostring, type = tostring, type local context = context local function flush(...) - context(concat{...,"\n"}) + context(concat{...,"\r"}) -- was \n end local function t_tocontext(...) @@ -57,7 +57,7 @@ end function context.tobuffer(name,str) context.startbuffer { name } context.pushcatcodes("verbatim") - local lines = (type(str) == "string" and find(str,"\n") and splitlines(str)) or str + local lines = (type(str) == "string" and find(str,"[\n\r]") and splitlines(str)) or str for i=1,#lines do context(lines[i] .. " ") end |