mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 19:30:59 -05:00
3aeb2a619b
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> |
||
---|---|---|
.. | ||
config | ||
migrations | ||
models | ||
ot | ||
web | ||
workers | ||
csp.js | ||
errors.js | ||
history.js | ||
letter-avatars.js | ||
logger.js | ||
prometheus.js | ||
realtime.js | ||
response.js | ||
utils.js |