Skip to content

Commit

Permalink
trim
Browse files Browse the repository at this point in the history
  • Loading branch information
Seven-Y-Q-Guo committed Feb 16, 2024
1 parent 74aef89 commit f417b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ function transformLines(lines: IThemedToken[][]) {

return line;
})
.filter((line) => line[0]?.content !== "@removed");
.filter((line) => line[0]?.content.trim() !== "@removed");
}

/**
Expand Down

0 comments on commit f417b5f

Please sign in to comment.