Skip to content

Remove pre-wrap CSS rule that breaks multi-line inline literals - #2512

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
ExplodingCabbage:main
Apr 11, 2022
Merged

JelleZijlstra merged 1 commit into
python:mainfrom
ExplodingCabbage:main

Conversation

@ExplodingCabbage

Copy link
Copy Markdown
Contributor

As written up in detail at #2511, this rule breaks the rendering of 199 inline literals across all the PEPs, and appears to have no reason to exist. I therefore propose to remove it.

Resolves #2511.

As written up in detail at python#2511, this rule breaks the rendering of 199 inline literals across all the PEPs, and appears to have no reason to exist. I therefore propose to remove it.
@AA-Turner
AA-Turner requested review from CAM-Gerlach and hugovk April 10, 2022 23:05

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rule was also removed from <pre> but not <code> as part of #2463. I checked some horizontal code scrolls and they still look good:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inline literals that span multiple lines in the RST file get rendered incorrectly

4 participants