flake8
passed.
JSHint
passed.
Review Request #11616 — Created May 24, 2021 and submitted
Information | |
---|---|
chipx86 | |
Review Board | |
release-4.0.x | |
Reviewers | |
reviewboard | |
There were a few long-term inconsistencies between edit mode and render
mode for Markdown code blocks:
Whitespace in a
code literal
wasn't preserved in render mode, even
if present in edit mode.The start and end of a fenced code block in edit mode was getting the
background color of acode literal
, which looked broken.Some colors were different for code inside a code block between
rendered mode and edit mode.This change fixes these three issues, making code look a lot more
consistent between the two modes.
Tested a handful of code blocks and inline code, making sure presentation
was mostly consistent where possible.
Summary | |
---|---|