mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Markdown: softbreak is not HTML
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
This commit is contained in:
parent
c819b433a2
commit
49d60ff879
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ export default class Markdown {
|
|||
}
|
||||
// text and paragraph are just text
|
||||
dummy_renderer.text = function(t) { return t; }
|
||||
dummy_renderer.softbreak = function(t) { return t; }
|
||||
dummy_renderer.paragraph = function(t) { return t; }
|
||||
|
||||
const dummy_parser = new commonmark.Parser();
|
||||
|
|
Loading…
Reference in a new issue