From b5b47c9c302e936e8961a82e8163263fca6a897a Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 14 Jun 2007 14:11:33 +0000 Subject: Making escape functions public. --- lib/xmllib.lua | 6 +++--- 1 file 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 -- cgit v1.2.3