diff --git a/src/Markdown.js b/src/Markdown.js index e02118397b..9d9a8621c9 100644 --- a/src/Markdown.js +++ b/src/Markdown.js @@ -102,6 +102,15 @@ export default class Markdown { // (https://github.com/vector-im/riot-web/issues/3154) softbreak: '
', }); + + // Trying to strip out the wrapping

causes a lot more complication + // than it's worth, i think. For instance, this code will go and strip + // out any

tag (no matter where it is in the tree) which doesn't + // contain \n's. + // On the flip side,

s are quite opionated and restricted on where + // you can nest them. + // + // Let's try sending with

s anyway for now, though. /* const real_paragraph = renderer.paragraph;