AzureDevOps.WikiPDFExport
AzureDevOps.WikiPDFExport copied to clipboard
No linebreaks added on crlf
Hello,
I'm experimenting with the WikiPdfExport and I'm running into an issue. I generate a releasenote using Richard Fennells 'Generate Release Notes'. This generates an .md with at the beginning the following:

When I export this to a Pdf using the WikiPDFExport tool (on a windows machine), the headers are not on new lines.
When I run the tool in debug, I see that the headers are wrapped in a <p> without <br />.

Only when I add 2 spaces in front of the crlf, a <br /> is added.
So after Release-40 there is no break, after (GMT+02:00) there is one.
This results in this pdf:

Is this by design or is this a bug in the html engine? How (except for adding 2 spaces) can I fix this or workaround this?
If I see that correctly: if you need a line break than you need to add two trailing spaces at the end of the line, then it should wrap accordingly. https://www.markdownguide.org/basic-syntax/#line-breaks
Okay, so it is by design. Thanks for the link...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.