mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
serialize binary note content into base64, incremented sync version
This commit is contained in:
@@ -256,7 +256,7 @@ async function getEntityRow(entityName, entityId) {
|
||||
&& entity.content !== null
|
||||
&& (entity.type === 'file' || entity.type === 'image')) {
|
||||
|
||||
entity.content = entity.content.toString("binary");
|
||||
entity.content = entity.content.toString("base64");
|
||||
}
|
||||
|
||||
return entity;
|
||||
|
||||
Reference in New Issue
Block a user