mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-14 20:29:32 +00:00
69589c19e7
Fixes https://github.com/vector-im/riot-web/issues/4446 by post-processing the output HTML from draft-js-export-html by replacing `<br>\n` with `<br>`. This works for content within or outside of `<pre>`. If we replace with `\n` instead, the newlines only apply in `<pre>` tags so we use `<br>`.