Code block markdown inserts improper line breaks
See original GitHub issueIf you haven’t already, check out our contributing guidelines for onboarding!
Upwork job: https://www.upwork.com/jobs/~01921d7b980ffc182b
Platform - version: ALL
Action Performed (reproducible steps):
- Log into expensify.cash
- Send a message containing a code block (framed by ```) longer than 1 line, and with a double dash " – " to observe the formatting.
The example text is:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent viverra feugiat ipsum sit amet dapibus. Donec eu euismod metus, viverra tempor lacus. In semper, magna vel eleifend ultrices, nisi turpis facilisis metus, ac tristique nisi sem non est. Quisque tempus turpis vitae lectus maximus tincidunt. Fusce tempor nisl et condimentum lacinia. Sed tellus arcu, commodo vitae lorem et, tincidunt porttitor – magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum sem tellus, tempus in vulputate a, tempor eleifend massa. Morbi a dolor ut est tincidunt consectetur non at justo. Nullam sem erat, gravida in ipsum ac, facilisis faucibus ex. Morbi venenatis turpis justo, vitae interdum sapien venenatis quis. Duis dictum ornare – massa, ac mollis quam sagittis non. Vivamus metus tellus, ultricies eu metus vel, pharetra vulputate nunc. Nulla nec ex ac orci dignissim imperdiet.
Expected Result:
The code block should wrap full words onto the next line, and the double dash " – " should not cause a line break.
Actual Result:
Words are broken in the middle, and each time a double dash appears there is a line break in the middle of the two dashes.
Notes/Photos/Videos:
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top GitHub Comments
I’ve been workng on this issue
Just a mistake, sorry Marc!