@limetech/lime-elements 37.26.1 → 37.26.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 +8 -0
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -2
- package/dist/cjs/limel-markdown.cjs.entry.js.map +1 -1
- package/dist/collection/components/markdown/allowed-css-properties.js +0 -1
- package/dist/collection/components/markdown/allowed-css-properties.js.map +1 -1
- package/dist/collection/components/markdown/markdown-parser.js +1 -1
- package/dist/collection/components/markdown/markdown-parser.js.map +1 -1
- package/dist/esm/limel-markdown.entry.js +1 -2
- package/dist/esm/limel-markdown.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-a8b9ae53.entry.js → p-b6e238b6.entry.js} +2 -2
- package/dist/lime-elements/{p-a8b9ae53.entry.js.map → p-b6e238b6.entry.js.map} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [37.26.2](https://github.com/Lundalogik/lime-elements/compare/v37.26.1...v37.26.2) (2024-04-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **markdown:** don't use height as a property to render an image ([fd74bbf](https://github.com/Lundalogik/lime-elements/commit/fd74bbff8eb914109fbc1a8b8f40a06b8b97cbe1))
|
|
8
|
+
|
|
1
9
|
## [37.26.1](https://github.com/Lundalogik/lime-elements/compare/v37.26.0...v37.26.1) (2024-04-30)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -43604,7 +43604,6 @@ const allowedCssProperties = [
|
|
|
43604
43604
|
'color',
|
|
43605
43605
|
'font-style',
|
|
43606
43606
|
'font-weight',
|
|
43607
|
-
'height',
|
|
43608
43607
|
'text-decoration-color',
|
|
43609
43608
|
'text-decoration-line',
|
|
43610
43609
|
'text-decoration-skip-ink',
|
|
@@ -43702,7 +43701,7 @@ async function markdownToHTML(text, options) {
|
|
|
43702
43701
|
.use(rehypeRaw)
|
|
43703
43702
|
.use(rehypeSanitize, Object.assign(Object.assign({}, defaultSchema), {
|
|
43704
43703
|
// Allow the `style` attribute on all elements
|
|
43705
|
-
attributes: Object.assign(Object.assign({}, defaultSchema.attributes), { '*': ['
|
|
43704
|
+
attributes: Object.assign(Object.assign({}, defaultSchema.attributes), { '*': ['style', 'width'] }) }))
|
|
43706
43705
|
.use(() => {
|
|
43707
43706
|
return (tree) => {
|
|
43708
43707
|
// Run the sanitizeStyle function on all elements, to sanitize
|