mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Server: Fixes #5229: Published notes that contain non-alphabetical characters could end up being truncated
This commit is contained in:
parent
6499ca8e61
commit
dd1f90819c
@ -218,7 +218,7 @@ async function renderNote(share: Share, note: NoteEntity, resourceInfos: Resourc
|
|||||||
return {
|
return {
|
||||||
body: bodyHtml,
|
body: bodyHtml,
|
||||||
mime: 'text/html',
|
mime: 'text/html',
|
||||||
size: bodyHtml.length,
|
size: Buffer.byteLength(bodyHtml, 'utf-8'),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user