Describe the Bug
Observed in BookStack 22.02.3
After creating a book comprised of multiple pages, I went to export it as markdown for use in another rendering pipeline. This mostly worked as expected, but there was an oddity: where one page ends and the next begins, no linebreaks were inserted, so the output looks like this:
nothing is allowed to fall through the cracks.# Discovery
The title of the next page, "Discovery", is rendered as a header, but it is quite literally concatenated to the last sentence of the previous page.
I did not test this against books comprised of chapters.
Steps to Reproduce
Export, as markdown, any book comprised of pages.
Expected Behaviour
Rather than what was seen,
nothing is allowed to fall through the cracks.# Discovery
I expected to see
nothing is allowed to fall through the cracks.
# Discovery
with two linebreaks at the point of page-concatenation to produce valid markdown.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
22.02.3
PHP Version
No response
Hosting Environment
Self-hosted, deployed from installer scripts in a Debian Bullseye VM.
Describe the Bug
Observed in BookStack 22.02.3
After creating a book comprised of multiple pages, I went to export it as markdown for use in another rendering pipeline. This mostly worked as expected, but there was an oddity: where one page ends and the next begins, no linebreaks were inserted, so the output looks like this:
The title of the next page, "Discovery", is rendered as a header, but it is quite literally concatenated to the last sentence of the previous page.
I did not test this against books comprised of chapters.
Steps to Reproduce
Export, as markdown, any book comprised of pages.
Expected Behaviour
Rather than what was seen,
I expected to see
with two linebreaks at the point of page-concatenation to produce valid markdown.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
22.02.3
PHP Version
No response
Hosting Environment
Self-hosted, deployed from installer scripts in a Debian Bullseye VM.