HTML whitespace is not maintained.
See original GitHub issueWrapping a word just before punctuation, but not wrapping the punctuation, results in bad formatting.
<p>This is a <strong>bold stance</strong>.</p>
becomes
<p>
This is a
<strong>bold stance</strong>
.
</p>
Which is rendered as:
This is a bold stance .
Notice the space before the period.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:19
- Comments:9 (3 by maintainers)
Top Results From Across the Web
white-space - CSS: Cascading Style Sheets - MDN Web Docs
The white-space CSS property sets how white space inside an element is handled. ... Such preserved spaces take up space and do not...
Read more >CSS white-space: pre not working as expected
pre Sequences of whitespace are preserved. Lines are only broken at newline characters in the source and at <br> elements.
Read more >white-space
White space is honored exactly as it is in the HTML and the text does not wrap until a line break is present...
Read more >Preserve Spacing of Text - HTML
Using <PRE> to preserve white space, tabs, and line breaks can come in very useful with certain types of content. You will probably...
Read more >HTML Spaces | Spaces in HTML
HTML spacing may be added to any element. ... Whitespace are characters that are not visible. They include: ... Maintaining spaces and formatting....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, unfortunately this makes the plugin unusable 😢 any plan to address this?
also having this issue. are there any workarounds?