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 Upload file to s3: make public a file on upload and allow to configure destination folder 2022-07-10 17:44:17 +02:00
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 Fix logging in ot module 2018-11-13 23:30:13 +01:00
web Pass through breaks option to published note 2022-10-03 20:18:16 +02:00
workers Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
csp.js Fix GitLab snippet export 2022-04-10 21:24:30 +02:00
errors.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
history.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
letter-avatars.js Use identicons as fallback for libravatar 2022-01-07 14:03:26 +01:00
logger.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
prometheus.js Add custom prometheus metrics 2021-04-25 20:06:56 +02:00
realtime.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
response.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
utils.js Exclude /metrics and /status routes from session initialization 2021-07-20 23:56:54 +02:00