Only 1 line of markdown formatting can be entered in the description

Hi @ben

I think I migth have found a little bug. When I have a project with some tasks and I choose “invoice project” it creates the following description:

## [Prroject name]

Task name


### 19. Jan. 2022 14:39:00 - 14:58:00
### 19. Jan. 2022 15:10:00 - 15:22:00

The problem now is, that the lower lines that use markdown to set a “heading” or text type, aren’t “rendered”. As soon as I remove the ## in the first line, the lines with ### are shown correctly.

I have tested it a bit and you can enter multiple lines of markdown code, also with different headings but you can’t have an empty line in between.

This works:

# line 1
## line 2a
## line 2b
### line 3

But this doesn’t work:

# line 1
## line 2a

## line 2b
### line 3

The problem doesn’t only exist with projects and tasks. The same issue occurs when you enter a description like this at teh products section of an invoice.

Could you please check this?
Thanks,
Gijs

Hi,

In the next version of the admin portal the app won’t add the extra line breaks.

@david @ben if possible I think it would be good if the markdown could still work the extra line breaks.

Hi @hillel

the extra line breaks don’t bother me. In fact I am using multiple line descriptions in v4 with empty lines and similar markdown formating and it works fine in v4.

I think, it just needs to render all lines of markdown, no matter how many empty lines are in between.

Thanks,
Gijs

@ecomsilio @hillel

I believe this is an issue with the markdown engine we are using, it is not liking the carriage return. I’ll need to dig into this.

Same here, I get ##headings not rendered at all, while italic works.