Leonezz / obsidian-tasks-calendar-wrapper

This plugin currently provides a timeline view to display your tasks from your obsidian valut, with customizable filters and renderring options.
MIT License
168 stars 10 forks source link

Comments in the format of [A::B] are not being hidden #125

Open Morganwan90 opened 2 months ago

Morganwan90 commented 2 months ago

I am using tickticksync, which generates codes in the task similar to %%[ticktick_id:: 665850a0d37ddf00000001f9]%%. Upon testing, it was found that the calendar-wrapper does not completely hide comments in the format of %%[A::B]%%, instead it displays %%%%.

Reproduction Steps: Enter the following text in the document:

- [ ] test1 %%testcomment%%
- [ ] test2 %%[[testcomment2:: 11]]%%

Problem Encountered: image

It can be observed that the comment for test1 is well hidden, but there is an issue with the comment for test2. I believe that another issue is also due to the same cause.