Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use white-space:pre-wrap for spaces make effect #2403

Merged
merged 1 commit into from
Oct 30, 2019

Conversation

helderjnpinto
Copy link
Contributor

The white spaces are not rendered:
The normal behavior for the display of whitespaces is to compress them into a single one, which is then displayed.

There are two exceptions from that:

The pre tag, which keeps the whitespaces as entered.
Setting the CSS property white-space: pre; (respectively pre-wrap or pre-line)

Ex:
image

in the code we can add a simple style for childs with white-space style.

Result in to this render:

image

@LianaHus
Copy link
Collaborator

@helderjnpinto thanks for the PR

@LianaHus LianaHus merged commit d8484db into ethereum:master Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants