From 865b5da32dfab508db87744c7542a59c192dd459 Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 19 Apr 2011 17:40:15 +0300 Subject: beta 2011.04.19 16:38 --- tex/context/base/lpdf-ini.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tex/context/base/lpdf-ini.lua') diff --git a/tex/context/base/lpdf-ini.lua b/tex/context/base/lpdf-ini.lua index 206e44688..6d7282036 100644 --- a/tex/context/base/lpdf-ini.lua +++ b/tex/context/base/lpdf-ini.lua @@ -93,12 +93,12 @@ end lpdf.toeight = toeight ---~ local escaped = lpeg.Cs((lpeg.S("\0\t\n\r\f ()[]{}/%")/"#" + lpeg.P(1))^0) ---~ +--~ local escaped = lpeg.Cs((lpeg.S("\0\t\n\r\f ()[]{}/%")/function(s) return format("#%02X",byte(s)) end + lpeg.P(1))^0) + --~ local function cleaned(str) --~ return (str and str ~= "" and lpegmatch(escaped,str)) or "" --~ end ---~ + --~ lpdf.cleaned = cleaned -- not public yet local function merge_t(a,b) -- cgit v1.2.3