diff options
Diffstat (limited to 'tex/context/base/lang-url.lua')
-rw-r--r-- | tex/context/base/lang-url.lua | 6 |
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, |