hedgedoc/lib/web
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
..
auth Fix crash in LDAP authentication 2022-08-22 09:01:04 +02:00
imageRouter Upload file to s3: make public a file on upload and allow to configure destination folder 2022-07-10 17:44:17 +02:00
middleware Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
note Pass through breaks option to published note 2022-10-03 20:18:16 +02:00
baseRouter.js Move note actions to their own file. 2019-10-27 13:51:53 +01:00
historyRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
statusRouter.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
userRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js Allow posting new note with content 2018-01-18 10:41:58 +01:00