nextcloud / welcome

Welcome widget in Nextcloud's dashboard
GNU Affero General Public License v3.0
17 stars 11 forks source link

Blank lines not shown #18

Open RussellNS opened 3 years ago

RussellNS commented 3 years ago

When creating a markdown file with extra blank lines, the blank lines are not shown on the Welcome app.

Here's a screenshot of a sample md file in Nextcloud:

      image

Here's a screenshot of the Welcome app (v0.0.5):

      image

As a workaround, I've been able to get around this by manually typing in \
in the file, like this:

      image

Thank you.

julien-nc commented 3 years ago

Multiple problems are causing this issue:

We can't preprocess the file content and replace \n\n by <br> because we never know if it means 2 new lines (other editor) or just one (NC Text).

It seems your workaround is the way to go.

kyteinsky commented 1 year ago

@RussellNS
<br> tag does not work for me now but &nbsp; does. You can use this as a line break in your files.