-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Weird formatting on documentation of "Summary" button #132564
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This is due to "Summary" having a newline in it. You can see the newline in Lines 35 to 36 in 82c24ec
I'm going to send in a modification, but I'm not sure how to document why that change is being made, so it doesn't happen again. A quick search through the code confirms that this is the only place where we have an inside a @rustbot claim |
you can put a non-doc comment ( |
On second thought, I don't love the idea of breaking up documentation with notes on why the documentation is formatted the way it is. I think this isn't so big of an issue that it needs to be commented on. |
another option is coding a check into |
…iper Fix an extra newline in rendered std doc Fixes rust-lang#132564  (taken from the issue above) The problem with the formatting is due to that newline between `<code>` and `<svg>`. Any newlines outside of the code (i.e., within elements inside of it) are fine.
Rollup merge of rust-lang#132617 - uellenberg:fix-rendered-doc, r=cuviper Fix an extra newline in rendered std doc Fixes rust-lang#132564  (taken from the issue above) The problem with the formatting is due to that newline between `<code>` and `<svg>`. Any newlines outside of the code (i.e., within elements inside of it) are fine.
Uh oh!
There was an error while loading. Please reload this page.
location: https://doc.rust-lang.org/nightly/std/#how-to-read-this-documentation
I believe this issue comes from using an
svg
element inside acode
element.The text was updated successfully, but these errors were encountered: