Completing a task with symbol other than "x" changes color of closing bracket and following text

This is a just tiny-tiny-tiny little bug that doesn’t appear to break any functionality except the edit mode color scheme. I report it in case it might break something in the future. Thanks for everything!

Steps to reproduce

  1. Create a task that uses an internal link.
  2. Mark it as done with a symbol that is not an “x”. I used an “>” or “-”.

Expected result

A completed task.

Actual result

The task is marked as complete, but the second closing square bracket turns purple as does all the following text down until the next link. It doesn’t seem to matter if the next link is in markdown or wiki style.

Environment

Ubuntu
  • Operating system: Ubuntu 18.04.5 LTS
  • Obsidian version: 0.12.5, but it may not have started with this version.

Additional information

Will be fixed in 0.12.6