Skip to content

Commit bf2ce0c

Browse files
zChangesYongpingJounQin
authored
fix: remove cf attr (#6)
Co-authored-by: Yongping <ypzhao@alauda.io> Co-authored-by: JounQin <admin@1stg.me>
1 parent 7299a68 commit bf2ce0c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/chatty-games-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"cf-cleaner": patch
3+
---
4+
5+
fix: remove cf attr

src/rehype-confluence.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const rehypeConfluence = () => (root: Root) => {
7979
break
8080
}
8181
default: {
82-
if (key.startsWith('data')) {
82+
if (key.startsWith('data') || key.startsWith('confluence')) {
8383
delete properties[key]
8484
}
8585
}

0 commit comments

Comments
 (0)