hedgedoc/public
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
..
banner Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
css Ignore local installed fonts 2021-08-18 22:47:22 +02:00
docs Pass through breaks option to published note 2022-10-03 20:18:16 +02:00
fonts Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
icons apply review suggestions 2020-11-15 20:12:39 +01:00
js Replace embedding shortcode regexes with more specific ones to safeguard against xss attacks 2022-08-26 18:59:06 +02:00
uploads upload image to public/uploads 2016-11-14 16:45:57 +08:00
vendor Fix missing inline authorship colors 2022-04-08 12:13:37 +02:00
views Add dark mode toggle in mobile view 2022-08-22 08:52:49 +02:00
.eslintrc.js Fix missing inline authorship colors 2022-04-08 12:13:37 +02:00
default.md Removed unused note and set empty on default note, updated features note 2016-01-17 09:57:25 -06:00
screenshot.png Updated screenshot 2020-11-17 11:13:58 +01:00