Skip to content

Fix a markdown rendering difference warning. - #211

Merged
quodlibetor merged 1 commit into
chronotope:masterfrom
kennytm:master
Jan 21, 2018
Merged

Fix a markdown rendering difference warning.#211
quodlibetor merged 1 commit into
chronotope:masterfrom
kennytm:master

Conversation

@kennytm

@kennytm kennytm commented Jan 21, 2018

Copy link
Copy Markdown
Contributor

Rust is going to change its Markdown rendering engine from hoedown to pulldown-cmark. In pulldown, a table row starting with just whitespaces will cause that whole cell disappeared. This causes rendering difference between the two engines.

To fix this, we add leading and trailing | to the rows so that empty cells are correctly rendered.

cc rust-lang/rust#47501.

Rust is going to change its Markdown rendering engine from hoedown to
pulldown-cmark. In pulldown, a table row starting with just whitespaces
will cause that whole cell disappeared. This causes rendering difference
between the two engines.

To fix this, we add leading and trailing `|` to the rows so that empty
cells are correctly rendered.
@quodlibetor
quodlibetor merged commit aa0fbc1 into chronotope:master Jan 21, 2018
@quodlibetor

Copy link
Copy Markdown
Contributor

Thanks!

takumi-earth pushed a commit to strict-rs/strict-chrono that referenced this pull request Aug 17, 2026
Fix a markdown rendering difference warning.
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.

2 participants