-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Attempting to use the pipe symbol in tables in doc-comments does not work as it will be interpreted as a table-separator even when attempting to escape it. Attempts to use html-entities also fails (ie. |
) and they end up escaped.
Example:
Test | Table
------|-----------
t = b | id = |x| x
This causes only f =
to be rendered in the right cell instead of the expected f = |x| x
.
Looking at Hoedown it seems like they fixed this in commit hoedown/hoedown@e7bcbe3 , which would enable us to write this:
Test | Table
------|-------------
t = b | id = \|x\| x
Metadata
Metadata
Assignees
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.