Use case or problem
If you create a task with for example a non-breaking whitespace between the brackets, it is marked as complete. This is not expected behaviour, as it is not possible to distinguish a non-breakable space from a breakable.
Proposed solution
When any or some whitespace character (regular space, non-breaking space, possibly even tabs) is inside the task brackets, treat the task as uncompleted.