mirror of
https://github.com/lajg-dev/Obsidian-Plugin-GPG-Inline-Encrypt.git
synced 2026-07-22 09:20:31 +00:00
Change scape chars to include gpg-base-64
This commit is contained in:
parent
c557a07c64
commit
acbb6c0d1e
1 changed files with 1 additions and 1 deletions
|
|
@ -152,6 +152,6 @@ export class EncryptModal extends Modal {
|
|||
// Convert Buffer to text in Base64 with some scape characters to be identify in LivePreview
|
||||
private BufferToSecretBase64(bufferEncrypted: Buffer): string {
|
||||
// Return buffer converted in Base64 with some scape characters to be identify in LivePreview
|
||||
return "`secret-base-64 " + bufferEncrypted.toString('base64') + "`";
|
||||
return "`gpg-base-64 " + bufferEncrypted.toString('base64') + "`";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue