mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 04:51:30 +03:00
unbreak Markdown.toPlaintext
This commit is contained in:
parent
95bfface99
commit
f40af434bc
1 changed files with 0 additions and 2 deletions
|
@ -156,7 +156,6 @@ export default class Markdown {
|
||||||
this.lit(s);
|
this.lit(s);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
renderer.paragraph = function(node, entering) {
|
renderer.paragraph = function(node, entering) {
|
||||||
// as with toHTML, only append lines to paragraphs if there are
|
// as with toHTML, only append lines to paragraphs if there are
|
||||||
// multiple paragraphs
|
// multiple paragraphs
|
||||||
|
@ -171,7 +170,6 @@ export default class Markdown {
|
||||||
this.lit(node.literal);
|
this.lit(node.literal);
|
||||||
if (is_multi_line(node) && node.next) this.lit('\n\n');
|
if (is_multi_line(node) && node.next) this.lit('\n\n');
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
// convert MD links into console-friendly ' < http://foo >' style links
|
// convert MD links into console-friendly ' < http://foo >' style links
|
||||||
// ...except given this function never gets called with links, it's useless.
|
// ...except given this function never gets called with links, it's useless.
|
||||||
|
|
Loading…
Reference in a new issue