@limetech/lime-elements 39.34.1 → 39.34.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [39.34.2](https://github.com/Lundalogik/lime-elements/compare/v39.34.1...v39.34.2) (2026-06-17)
2
+
3
+ ### Bug Fixes
4
+
5
+
6
+ * **markdown:** keep id/name attributes unprefixed in sanitizer ([14a062a](https://github.com/Lundalogik/lime-elements/commit/14a062a12b4a6f21bcd4fd88c25ad5faacae6c84)), closes [#4135](https://github.com/Lundalogik/lime-elements/issues/4135)
7
+
1
8
  ## [39.34.1](https://github.com/Lundalogik/lime-elements/compare/v39.34.0...v39.34.1) (2026-06-16)
2
9
 
3
10
  ### Bug Fixes
@@ -5893,6 +5893,15 @@ const htmlDecoder = getDecoder(htmlDecodeTree);
5893
5893
  function decodeHTML(str, mode = DecodingMode.Legacy) {
5894
5894
  return htmlDecoder(str, mode);
5895
5895
  }
5896
+ /**
5897
+ * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
5898
+ *
5899
+ * @param str The string to decode.
5900
+ * @returns The decoded string.
5901
+ */
5902
+ function decodeHTMLStrict(str) {
5903
+ return htmlDecoder(str, DecodingMode.Strict);
5904
+ }
5896
5905
 
5897
5906
  /** All valid namespaces in HTML. */
5898
5907
  var NS;
@@ -20343,6 +20352,7 @@ exports.EXIT = EXIT;
20343
20352
  exports.ccount = ccount;
20344
20353
  exports.convert = convert;
20345
20354
  exports.decodeHTML = decodeHTML;
20355
+ exports.decodeHTMLStrict = decodeHTMLStrict;
20346
20356
  exports.defaultSchema = defaultSchema;
20347
20357
  exports.determineBranch = determineBranch;
20348
20358
  exports.htmlDecodeTree = htmlDecodeTree;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index$1 = require('./index-8x93m5oI.js');
4
4
  var translations = require('./translations-VEsa81QY.js');
5
- var index = require('./index-BgFEL6FF.js');
5
+ var index = require('./index-ETPz91V5.js');
6
6
  require('./_commonjsHelpers-CFO10eej.js');
7
7
 
8
8
  /**
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index$1 = require('./index-8x93m5oI.js');
4
- var markdownParser = require('./markdown-parser-ZtNkFlPt.js');
4
+ var markdownParser = require('./markdown-parser-F3YRMjcy.js');
5
5
  var config = require('./config-dit--4m5.js');
6
- var index = require('./index-BgFEL6FF.js');
6
+ var index = require('./index-ETPz91V5.js');
7
7
  var adaptColorContrast = require('./adapt-color-contrast-Beo1IEl_.js');
8
8
  require('./_commonjsHelpers-CFO10eej.js');
9
9
 
@@ -1167,7 +1167,7 @@ const Markdown = class {
1167
1167
  this.cleanupImageIntersectionObserver();
1168
1168
  }
1169
1169
  render() {
1170
- return (index$1.h(index$1.Host, { key: '9f4f25470aad4f8db1133231f40e7a388f2146bb' }, index$1.h("div", { key: '64378c77ef6c71a3ee3733d430f8d33999c315e0', id: "markdown", ref: (el) => (this.rootElement = el) })));
1170
+ return (index$1.h(index$1.Host, { key: '79583ca7783472254c84899b2709d20e21bb442f' }, index$1.h("div", { key: 'd06c81a4098a25b97a6ed56d2830205228933c6e', id: "markdown", ref: (el) => (this.rootElement = el) })));
1171
1171
  }
1172
1172
  setupImageIntersectionObserver() {
1173
1173
  if (this.lazyLoadImages) {