luci/modules/luci-base/luasrc/xml.luadoc

24 lines
425 B
Text
Raw Normal View History

---[[
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
]]