@optimiser/common 1.0.378 → 1.0.379
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/utility.js +2 -1
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -4785,7 +4785,8 @@ function ValidateUserInput(options) {
|
|
|
4785
4785
|
return [2 /*return*/, "continue"];
|
|
4786
4786
|
}
|
|
4787
4787
|
if (IsStringValue(fieldData)) { //sanitizing Html
|
|
4788
|
-
|
|
4788
|
+
inputFields[fieldName] = (0, sanitize_html_1.default)(fieldData);
|
|
4789
|
+
fieldData = inputFields[fieldName];
|
|
4789
4790
|
}
|
|
4790
4791
|
if ((field.UIDataType == 'date' || field.UIDataType == 'datetime') && IsStringValue(fieldData) && fieldData.trim() == '') {
|
|
4791
4792
|
inputFields[fieldName] = null;
|