@optimiser/common 1.0.430 → 1.0.432

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.
@@ -4824,11 +4824,10 @@ var CustomSanitizeHtml = function (dirtyHtml, uiDataType) {
4824
4824
  try {
4825
4825
  // Sanitize the HTML content
4826
4826
  var sanitizedHtmlContent = (0, sanitize_html_1.default)(dirtyHtml, sanitizeOptions);
4827
- // Replace HTML entities with their characters (use caution)
4828
- return sanitizedHtmlContent
4829
- .replace(/&/g, '&')
4830
- .replace(/&lt;/g, '<')
4831
- .replace(/&gt;/g, '>');
4827
+ return sanitizedHtmlContent; //Replace code commented fixed QPC-11110 script data save
4828
+ // .replace(/&amp;/g, '&')
4829
+ // .replace(/&lt;/g, '<')
4830
+ // .replace(/&gt;/g, '>');
4832
4831
  }
4833
4832
  catch (error) {
4834
4833
  console.error('Sanitization failed:', error);
@@ -4921,6 +4920,7 @@ function ValidateUserInput(options) {
4921
4920
  fieldData = inputFields[fieldName];
4922
4921
  if (pageField.IsDisplayOnly) {
4923
4922
  delete inputFields[pageField.Name];
4923
+ return [2 /*return*/, "continue"];
4924
4924
  }
4925
4925
  field = schemaFields.find(function (x) { return x.Name == fieldName; });
4926
4926
  if (!field) return [3 /*break*/, 60];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.430",
3
+ "version": "1.0.432",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {