diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-05-18 13:15:04 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-05-18 13:15:04 +0200 |
commit | 53ff76b73cd1f373ecdfb0f7f17df6f352621d6e (patch) | |
tree | ba75e57f8ab12bf8edfb429bd6455e9dfca9512c /tex/context/base/util-str.lua | |
parent | b55577d0998160c0174e250b542016ecd6ca9056 (diff) | |
download | context-53ff76b73cd1f373ecdfb0f7f17df6f352621d6e.tar.gz |
2015-05-18 12:28:00
Diffstat (limited to 'tex/context/base/util-str.lua')
-rw-r--r-- | tex/context/base/util-str.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/util-str.lua b/tex/context/base/util-str.lua index de4a87e9f..c2139b155 100644 --- a/tex/context/base/util-str.lua +++ b/tex/context/base/util-str.lua @@ -1118,7 +1118,7 @@ function string.optionalquoted(str) return lpegmatch(pattern,str) or str end -local pattern = Cs((newline / os.newline + 1)^0) +local pattern = Cs((newline / (os.newline or "\r") + 1)^0) function string.replacenewlines(str) return lpegmatch(pattern,str) |