survey-analytics 2.5.40 → 2.5.41

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/fesm/shared2.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.5.40
2
+ * surveyjs - SurveyJS Dashboard library v2.5.41
3
3
  * Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
6
6
 
7
7
  import { Event, QuestionCustomModel, QuestionCompositeModel, QuestionCommentModel, settings, hasLicense, ItemValue, QuestionRatingModel, surveyLocalization, IsTouch } from 'survey-core';
8
- import { D as DocumentHelper, l as localization, g as createLoadingIndicator, b as DataHelper, e as createCommercialLicenseLink, f as svgTemplate, t as toPrecision } from './shared.mjs';
8
+ import { D as DocumentHelper, l as localization, e as stripHtml, h as createLoadingIndicator, b as DataHelper, f as createCommercialLicenseLink, g as svgTemplate, t as toPrecision } from './shared.mjs';
9
9
 
10
10
  class DataProvider {
11
11
  constructor(_data = []) {
@@ -1085,9 +1085,7 @@ class VisualizerBase {
1085
1085
  }
1086
1086
  processText(text) {
1087
1087
  if (this.options.stripHtmlFromTitles !== false) {
1088
- let originalText = text || "";
1089
- let processedText = originalText.replace(/(<([^>]+)>)/gi, "");
1090
- return processedText;
1088
+ return stripHtml(text);
1091
1089
  }
1092
1090
  return text;
1093
1091
  }