diff options
author | Sven Roederer <freifunk@it-solutions.geroedel.de> | 2019-07-06 14:18:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-07-19 20:14:35 +0200 |
commit | 68521fca04e9b2ae801cc2daa4f920a2c43bc03f (patch) | |
tree | c156d044c3f3ed1e970b0398045ead3624c75b12 /libs/luci-lib-base/luasrc/util.luadoc | |
parent | 8b8d83e42dd3d10d82e29a8614a7b3e3e94b16c6 (diff) |
luci-base(-libs): move pcdata() and striptags() from util- to xml-class
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>
Diffstat (limited to 'libs/luci-lib-base/luasrc/util.luadoc')
-rw-r--r-- | libs/luci-lib-base/luasrc/util.luadoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/luci-lib-base/luasrc/util.luadoc b/libs/luci-lib-base/luasrc/util.luadoc index 4ec68dd1ef..3168d9c220 100644 --- a/libs/luci-lib-base/luasrc/util.luadoc +++ b/libs/luci-lib-base/luasrc/util.luadoc @@ -70,10 +70,13 @@ Recursively dumps a table to stdout, useful for testing and debugging. ---[[ Create valid XML PCDATA from given string. +This is just a compatibility wrapper for luci.xml.padata() + @class function @name pcdata @param value String value containing the data to escape @return String value containing the escaped data +@see luci.xml.pcdata ]] ---[[ @@ -100,10 +103,13 @@ URL-encode given string. ---[[ Strip HTML tags from given string. +This is just a compatibility wrapper for luci.xml.striptags() + @class function @name striptags @param value String containing the HTML text @return String with HTML tags stripped of +@see luci.xml.striptags ]] ---[[ |