mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
fix html blockquote conversion (#8069)
This commit is contained in:
parent
5c7181ca21
commit
af022fd8b8
@ -168,7 +168,7 @@ export function fromHtml(html: string, hashtagNames?: string[]): string | null {
|
|||||||
case 'blockquote': {
|
case 'blockquote': {
|
||||||
const t = getText(node);
|
const t = getText(node);
|
||||||
if (t) {
|
if (t) {
|
||||||
text += '> ';
|
text += '\n> ';
|
||||||
text += t.split('\n').join(`\n> `);
|
text += t.split('\n').join(`\n> `);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user