mirror of
https://github.com/openwrt/luci.git
synced 2025-02-07 11:39:54 +00:00
Move classes required for Lua runtime support into a new `luci-lua-runtime` package. Also replace the `luci.http` and `luci.util` classes in `luci-lib-base` with stubbed versions interacting with the ucode based runtime environment. Finally merge `luci-base-ucode` into the remainders of `luci-base`. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
24 lines
425 B
Plaintext
24 lines
425 B
Plaintext
---[[
|
|
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
|
|
]]
|
|
|