mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
fix html blockquote conversion (#8069)
This commit is contained in:
parent
46bbf84d8d
commit
1528a9c827
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user