Doctests confuse multi-paragraph footnote with indented code block #139064
Labels
A-doctests
Area: Documentation tests, run by rustdoc
A-markdown-parsing
Area: Markdown parsing for doc-comments
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
This is a footnote with multiple paragraphs. It renders correctly in the documentation:
However, running as a doctest fails:
Somehow the doctest collector seems to not understand that there are footnotes. I would expect this to be ignored.
Meta
The text was updated successfully, but these errors were encountered: