Any task created inside any callout box will not be Listed in a Tasks query, but if I move the task outside the Callout, it shows up.
Steps to reproduce
Paste the following into any note
- [ ] This Task is outside a callout #testing ➕ 2024-06-13
>[!error] ***Callout***
>- [ ] This Task is inside a callout #testing ➕ 2024-06-13
>[!error] ***Task Query***
>```tasks
>status.type is TODO
>tags include #testing
>```
TL;DR - Problem is due to an issue w/how tasks reads line numbers. The workaround is to remove the label from any callout that has tasks. See links for details.