Closed WillB97 closed 2 months ago
Urgh, that's a shame.
Have you checked what happens to the older list style? If I recall correctly, those previously also got automatically checked when the task was completed. If the comments break that too then we should also consider a different spelling for those.
If not and we can keep the older style having the comments, then it would be better to re-factor the construction of that spelling into the conditional branch where it's used rather than having a variable which looks like it'll be used several times but then isn't.
It'd also be great to explore other spellings here. I had thought that adding text after the #number
didn't break this, so maybe there's something else we can do?
The tasklist code:
Produces:
Which doesn't check the checkbox when the task is closed.
Removing the HTML codes like:
Produces:
Which properly tracks tasks closing.