summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3build/l3build-upload.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-11-30 03:00:43 +0000
committerNorbert Preining <norbert@preining.info>2021-11-30 03:00:43 +0000
commit37729ddea335ca0dfe40ada381d05bde37c5ea61 (patch)
tree960423718ed6c697613f41ab202a79966fef5bf2 /macros/latex/contrib/l3build/l3build-upload.lua
parent5bfa628a501938d7d9540f3597b39cb4c2d16d8a (diff)
CTAN sync 202111300300
Diffstat (limited to 'macros/latex/contrib/l3build/l3build-upload.lua')
-rw-r--r--macros/latex/contrib/l3build/l3build-upload.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/latex/contrib/l3build/l3build-upload.lua b/macros/latex/contrib/l3build/l3build-upload.lua
index be814ce5ae..4b3aa7aea6 100644
--- a/macros/latex/contrib/l3build/l3build-upload.lua
+++ b/macros/latex/contrib/l3build/l3build-upload.lua
@@ -319,6 +319,7 @@ function ctan_single_field(fname,fvalue,max,desc,mandatory)
if (max > 0 and len(vs) > max) then
error("The field " .. fname .. " is longer than " .. max)
end
+ vs = vs:gsub('\\','\\\\')
vs = vs:gsub('"','\\"')
vs = vs:gsub('`','\\`')
vs = vs:gsub('\n','\\n')