@ugotta 👋
Super busy here at the moment, I appreciate the assets you linked, could you eventually share me the original markdown code as well that you use for the screenshot please ? That could save me some time. 🙇♂️
Can’t promise any timeline right now, I will take a look when I can 🙏
Take care and keep in touch 🤲
Thread Starter
ugotta
(@ugotta)
For the convenience of writing most paragraphs, instead of typing two spaces at the end of the line to start a newline, use the following CSS:
.wp-content > p {white-space: pre-wrap;}
But sometimes it is unavoidable to use HTML inline tags. Here are the comparative test results:
MD inline Strong tag: TEXT TEXT **first** TEXT TEXT TEXT **second** TEXT TEXT TEXT.
HTML inline Strong tag: TEXT TEXT <strong>first</strong> TEXT TEXT TEXT <strong>second</strong> TEXT TEXT TEXT. A newline occurred before "first".
Normally within a paragraph, using an inline tag, such as “a strong I code del ins sup sub kbd”, does not result in a newline. But the current state of affairs, when using HTML inline tags, produces an unwanted BR wrap on the first inline tag.
Thank you for the snippets @ugotta, that really helpt.
Should be fixed with version 3.25.1 released just earlier. 🚀
It’s a bug in a bug, I originally added a few break-lines myself to trigger properly the parser with wrongly indented HTML codes. The reason is that should cover at least 50% of copy-pasting cases and save me spending energy on support with edge cases 😇
The “right” purpose of white-space is explained here :
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/white-space While making your CSS trick, you typically end up tweaking stuff on top of my own tweaks so it’s gonna be messy for sure 🫠
That should work this time 🤞, have a wonderful day, and see you in the next loop ➿
Thread Starter
ugotta
(@ugotta)
Great,
finally back to the right experience.. 🚀