Skip to content

Commit

Permalink
clean: clean comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 23, 2022
1 parent 0c11499 commit e5b84f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const rehypeIgnore: Plugin<[RehypeIgnoreOptions?], Root> = (options = {}) => {
if (item.type === 'raw' || item.type === 'comment') {
let str = item.value?.trim();
str = str.replace(/^<!--(.*?)-->/, '$1')
console.log('str::', item.type, str)
if (str === openDelimiter) {
start = true;
return false;
Expand Down

0 comments on commit e5b84f5

Please sign in to comment.