24 lines
425 B
Text
24 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
|
||
|
]]
|
||
|
|