@descope/web-components-ui 1.1.0 → 1.3.0

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.
@@ -11792,12 +11792,12 @@ const getValueType = (value) => {
11792
11792
  };
11793
11793
 
11794
11794
  const renderCodeSnippet = (value, lang) =>
11795
- `<descope-code-snippet lang="${lang}" class="row-details__value code">${value}</descope-code-snippet>`;
11795
+ `<descope-code-snippet lang="${lang}" class="row-details__value code">${escapeXML(value)}</descope-code-snippet>`;
11796
11796
 
11797
11797
  const renderText = (text) =>
11798
- `<div class="row-details__value text" title="${text}">${text}</div>`;
11799
- const renderJson = (value) => renderCodeSnippet(escapeXML(JSON.stringify(value, null, 2)), 'json');
11800
- const renderXml = (value) => renderCodeSnippet(escapeXML(value), 'xml');
11798
+ `<div class="row-details__value text" title="${text}">${escapeXML(text)}</div>`;
11799
+ const renderJson = (value) => renderCodeSnippet(JSON.stringify(value, null, 2), 'json');
11800
+ const renderXml = (value) => renderCodeSnippet(value, 'xml');
11801
11801
 
11802
11802
  const defaultRowDetailsValueRenderer = (value) => {
11803
11803
  const valueType = getValueType(value);