luci-base: help-text spell fix

Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
This commit is contained in:
Paul Dee 2023-01-17 21:24:44 +01:00
parent 5455a54d1c
commit 3c2b35cf90

View file

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