summaryrefslogtreecommitdiff
path: root/tex/context/base/lang-url.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-08-19 01:08:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-08-19 01:08:00 +0200
commit174663b0081dd76f91c45fd705262a262a7b1f49 (patch)
tree554d5d47e81a9263e98fe7091be7e4dbd363482b /tex/context/base/lang-url.lua
parente68c228a21a98042c87ef21d9a094b97f941e8de (diff)
downloadcontext-174663b0081dd76f91c45fd705262a262a7b1f49.tar.gz
beta 2010.08.19 01:08
Diffstat (limited to 'tex/context/base/lang-url.lua')
-rw-r--r--tex/context/base/lang-url.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/lang-url.lua b/tex/context/base/lang-url.lua
index b0a71ec67..d8723db78 100644
--- a/tex/context/base/lang-url.lua
+++ b/tex/context/base/lang-url.lua
@@ -13,7 +13,8 @@ local utfbyte, utfgsub = utf.byte, utf.gsub
local ctxcatcodes, texsprint = tex.ctxcatcodes, tex.sprint
-commands = commands or { }
+commands = commands or { }
+local commands = commands
--[[
<p>Hyphenating <l n='url'/>'s is somewhat tricky and a matter of taste. I did
@@ -23,8 +24,7 @@ dealing with <l n='ascii'/> characters.</p>
]]--
commands.hyphenatedurl = commands.hyphenatedurl or { }
-
-local hyphenatedurl = commands.hyphenatedurl
+local hyphenatedurl = commands.hyphenatedurl
hyphenatedurl.characters = {
["!"] = 1,