todo
directive treat repeated special characters as headers
#12346
Labels
todo
directive treat repeated special characters as headers
#12346
Describe the bug
The
todo
does not like:but it is fine with
I haven't looked at the code yet but I suspect it's because we are parsing the body differently using a
nested_parse
but I'm not sure whether I should consider it a bug or not. I do like having????
when I debug because I don't understand what happens but it might be something we shouldn't care about?@chrisjsewell you worked a lot with the docutils' parser so what are your thoughts for that directive? should we actually parse it the same way we do for
.. rubric
? because the latter works in those cases:and
How to Reproduce
Environment Information
Sphinx extensions
['sphinx.ext.todo']
Additional context
No response
The text was updated successfully, but these errors were encountered: