hedgedoc/lib
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
..
config
migrations fix: Change data type of history attribute in user table to long text 2022-09-25 11:09:23 +02:00
models Convert history attribute in user table to longtext 2022-09-25 11:09:23 +02:00
ot
web Pass through breaks option to published note 2022-10-03 20:18:16 +02:00
workers
csp.js
errors.js
history.js
letter-avatars.js
logger.js
prometheus.js
realtime.js
response.js
utils.js