Merge pull request #6220 from systemcrash/tags_string

luci-base: help-text spell fix
This commit is contained in:
Jo-Philipp Wich 2023-02-02 15:02:17 +01:00 committed by GitHub
commit dd26744da8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,7 @@ var CBIAbstractElement = baseclass.extend(/** @lends LuCI.form.AbstractElement.p
* The input string to clean.
*
* @returns {string}
* The cleaned input string with HTML removes removed.
* The cleaned input string with HTML tags removed.
*/
stripTags: function(s) {
if (typeof(s) == 'string' && !s.match(/[<>]/))