diff options
author | pixel <pixel> | 2007-06-14 14:11:33 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-14 14:11:33 +0000 |
commit | b5b47c9c302e936e8961a82e8163263fca6a897a (patch) | |
tree | 84c111a4d81ece551f62ec4fbd679ad9364da680 /lib/xmllib.lua | |
parent | 54ce40b6cbe345de9ee0075ae4f265d6f7bcf7d5 (diff) |
Making escape functions public.
Diffstat (limited to 'lib/xmllib.lua')
-rw-r--r-- | lib/xmllib.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xmllib.lua b/lib/xmllib.lua index a6e97b2..8c4a258 100644 --- a/lib/xmllib.lua +++ b/lib/xmllib.lua @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: xmllib.lua,v 1.11 2007-06-12 16:38:50 pixel Exp $ */ +/* $Id: xmllib.lua,v 1.12 2007-06-14 14:11:33 pixel Exp $ */ ]]-- @@ -33,11 +33,11 @@ local attribute_replacements = { { '"', '\\"' }, } -local function xml_escape(str) +function xml_escape(str) return generic_escape(str, xml_replacements) end -local function attribute_escape(str) +function attribute_escape(str) return generic_escape(str, attribute_replacements) end |