Skip to content

Commit b4d02f1

Browse files
committed
fix: @container class safelisting
1 parent 14cc1da commit b4d02f1

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
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).
66

7+
## [6.0.0-12] - 2025-07-16
8+
9+
### Fixed
10+
711
## [6.0.0-11] - 2025-07-16
812

913
### Fixed

src/transformers/inline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function inline(html = '', options = {}) {
6262
'lang', // Fenced code blocks
6363
'ShadowHTML', // Superhuman
6464
'spark', // Spark
65-
'at-', // Safe class names for container queries
65+
'.at-', // Safe class names for container queries
6666
],
6767
])
6868

src/transformers/purge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const posthtmlPlugin = options => tree => {
2626
'*lang*', // Fenced code blocks
2727
'*ShadowHTML*', // Superhuman
2828
'*spark*', // Spark
29-
'*at-*', // Safe class names for container queries
29+
'.at-*', // Safe class names for container queries
3030
]
3131

3232
const defaultOptions = {

0 commit comments

Comments
 (0)