To complete the previous commit these functions are defined in the resulting luci-base package but are also used in the new luci-base-libs package. So move them into the new xml-module of the new package. Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
23 lines
425 B
Text
23 lines
425 B
Text
---[[
|
|
LuCI utility functions.
|
|
]]
|
|
module "luci.xml"
|
|
|
|
---[[
|
|
Create valid XML PCDATA from given string.
|
|
|
|
@class function
|
|
@name pcdata
|
|
@param value String value containing the data to escape
|
|
@return String value containing the escaped data
|
|
]]
|
|
|
|
---[[
|
|
Strip HTML tags from given string.
|
|
|
|
@class function
|
|
@name striptags
|
|
@param value String containing the HTML text
|
|
@return String with HTML tags stripped of
|
|
]]
|
|
|