hedgedoc/lib/web/note
David Mehren 3aeb2a619b Pass through breaks option to published note
The markdown for the publish-view is generated
using the `Note.extractMeta` method.
It uses meta-marked to separate the metadata from markdown.
Only the raw markdown is then sent to the client,
so it cannot respect the `breaks` option.

This adds an evil hack to send the `breaks` option with the markdown
if it is contained in the metadata block.

Fixes https://github.com/hedgedoc/hedgedoc/issues/2358

Signed-off-by: David Mehren <git@herrmehren.de>
2022-10-03 20:18:16 +02:00
..
actions.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
controller.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
router.js Move showPublishNote and publishNoteActions to note controller 2019-10-27 15:23:38 +01:00
slide.js Inline renderPublishSlide 2019-10-27 15:50:24 +01:00
util.js Pass through breaks option to published note 2022-10-03 20:18:16 +02:00