@maizzle/framework 6.0.0-10 → 6.0.0-12
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 +10 -0
- package/package.json +1 -1
- package/src/transformers/inline.js +2 -2
- package/src/transformers/purge.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [6.0.0-12] - 2025-07-16
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
## [6.0.0-11] - 2025-07-16
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- fix: return posthtml tree from inliner 5d78370
|
|
16
|
+
|
|
7
17
|
## [6.0.0-10] - 2025-07-16
|
|
8
18
|
|
|
9
19
|
### Fixed
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@ import { getPosthtmlOptions } from '../posthtml/defaultConfig.js'
|
|
|
19
19
|
* @returns {Function} PostHTML tree
|
|
20
20
|
*/
|
|
21
21
|
export default (options = {}) => tree => {
|
|
22
|
-
return inline(render(tree), options)
|
|
22
|
+
return inline(render(tree), options).then(html => parse(html, getPosthtmlOptions()))
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -62,7 +62,7 @@ export async function inline(html = '', options = {}) {
|
|
|
62
62
|
'lang', // Fenced code blocks
|
|
63
63
|
'ShadowHTML', // Superhuman
|
|
64
64
|
'spark', // Spark
|
|
65
|
-
'at-', // Safe class names for container queries
|
|
65
|
+
'.at-', // Safe class names for container queries
|
|
66
66
|
],
|
|
67
67
|
])
|
|
68
68
|
|
|
@@ -26,7 +26,7 @@ const posthtmlPlugin = options => tree => {
|
|
|
26
26
|
'*lang*', // Fenced code blocks
|
|
27
27
|
'*ShadowHTML*', // Superhuman
|
|
28
28
|
'*spark*', // Spark
|
|
29
|
-
'
|
|
29
|
+
'.at-*', // Safe class names for container queries
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
const defaultOptions = {
|