1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-25 17:02:04 +03:00

Add test for renderToString

This commit is contained in:
Jaiwanth
2021-08-09 13:24:54 +05:30
parent b3c03c9b68
commit 900accd823
2 changed files with 14 additions and 4 deletions

View File

@ -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;