xml.luadoc 425 B

1234567891011121314151617181920212223
  1. ---[[
  2. LuCI utility functions.
  3. ]]
  4. module "luci.xml"
  5. ---[[
  6. Create valid XML PCDATA from given string.
  7. @class function
  8. @name pcdata
  9. @param value String value containing the data to escape
  10. @return String value containing the escaped data
  11. ]]
  12. ---[[
  13. Strip HTML tags from given string.
  14. @class function
  15. @name striptags
  16. @param value String containing the HTML text
  17. @return String with HTML tags stripped of
  18. ]]