One liner code block renders as empty
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Write a one line code block like:
Expected behaviour
The code actually gets reformatted like:
... and doesn't show up:
Actual behaviour
Should look like this:
one liner
Browser name: Reproducable on Safari but visible on all
Works fine here 🤔
Works fine here 🤔
Reproducable on Safari but visible on all browsers
Reproducable on Safari but visible on all browsers
Please test it here as well, to see, if it's a Talk or library issue: https://nextcloud-vue-components.netlify.app/#/Components/NcRichText?id=ncrichtext-1
Can not reproduce on iPad Safari
Please test it here as well, to see, if it's a Talk or library issue:
I did, it seems to work there.
But can also reproduce the missing line in safari locally:
The actual problem seems to be the posting. If I post one line code from another browser it also renders on Safari.
But if I post the message it gets sent as:
```hi\n```
instead of
```\nhi\n```
and therefore the single line/word is interpreted as "language"/flavor