Remove comment

This commit is contained in:
RMidhunSuresh 2021-12-21 16:00:24 +05:30
parent dee22f7120
commit cba044eff1

View File

@ -345,7 +345,6 @@ class Deserializer {
} }
export function parseHTMLBody(platform, mediaRepository, html) { export function parseHTMLBody(platform, mediaRepository, html) {
// todo: might be better to remove mx-reply and children after parsing, need to think
html = html.replace(/<mx-reply>.+<\/mx-reply>/, ""); html = html.replace(/<mx-reply>.+<\/mx-reply>/, "");
const parseResult = platform.parseHTML(html); const parseResult = platform.parseHTML(html);
const deserializer = new Deserializer(parseResult, mediaRepository); const deserializer = new Deserializer(parseResult, mediaRepository);