You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
Add test for renderToString
This commit is contained in:
@@ -48,6 +48,7 @@ export default class PlainTextExporter extends Exporter {
|
||||
|
||||
const match = REPLY_REGEX.exec(content.body);
|
||||
|
||||
// if the reply format is invalid, then return the body
|
||||
if (!match) return content.body;
|
||||
|
||||
let rplSource: string;
|
||||
|
||||
Reference in New Issue
Block a user