summaryrefslogtreecommitdiff
path: root/tex/context/base/lang-url.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-08-19 10:29:42 +0300
committerMarius <mariausol@gmail.com>2010-08-19 10:29:42 +0300
commit7d7e0d3c8d778650105cfb479f31a2bb54d69d50 (patch)
treee0c4e7d8bf466a70af56be02a0de703bbd09a5af /tex/context/base/lang-url.lua
parentb469b8ec1b494ab72cd462bfc539ce01440e6aaf (diff)
downloadcontext-7d7e0d3c8d778650105cfb479f31a2bb54d69d50.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,