Add test for renderToString
This commit is contained in:
parent
b3c03c9b68
commit
900accd823
2 changed files with 14 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue