1
0
Fork 1
mirror of https://example.com synced 2024-11-24 06:56:41 +09:00

fix html blockquote conversion (#8069)

This commit is contained in:
Johann150 2021-12-28 20:15:28 +01:00 committed by GitHub
parent 5c7181ca21
commit af022fd8b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,7 @@ export function fromHtml(html: string, hashtagNames?: string[]): string | null {
case 'blockquote': {
const t = getText(node);
if (t) {
text += '> ';
text += '\n> ';
text += t.split('\n').join(`\n> `);
}
break;