Foreword
AFAIK tables of content (TOC) aren't standardized in markdown, so I guess this is an feature of CryptPad (and other markdown editors). Also, I don't consider the following a bug but a developer decision.
Observation
If one uses formatting in headings like strikethrough (or bold or italic) they don't get interpreted in the TOC. So a crossed out heading appears NOT crossed out in the TOC.
Feature Request
Support / Interpret at least strikethroug attribute in the TOC.
Reason
TOCs are used for long texts but also - especially markdown - for lists like todo lists, project lists and so on. In these "organzational" texts one uses of course strikethrough to visually and easily mark an item as done / closed / wrong. But this important information is missing in the TOC, although the TOC shall give you a quick orientation (and navigation).
So since markdown TOCs are not standardized I suggest to support at least strikethrough. One can argue if bold and italic are important, since they stress something out. But strikethrouh on the opposite gives a statement a whole different meaning: it negates a statement.