From f5d463f7a5f5beb3638696c9700b1c7781448744 Mon Sep 17 00:00:00 2001 From: Kat Hagan Date: Wed, 29 May 2024 12:32:43 -0400 Subject: [PATCH] Fix: Prevent preview from crashing on email address (#3205) --- RELEASE-NOTES.md | 1 + webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index dd9c6b537..2e714252d 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -6,6 +6,7 @@ - Adjusted word wrap borders in Safari to match other browsers [#3191](https://github.com/Automattic/simplenote-electron/pull/3191) - Fixed an issue that caused the right-click menu to vanish immediately in Safari [#3192](https://github.com/Automattic/simplenote-electron/pull/3192) +- Fixed a bug where an email address in a note would cause the preview to be blank [#3205](https://github.com/Automattic/simplenote-electron/pull/3205) ### Other Changes diff --git a/webpack.config.js b/webpack.config.js index 4994b52ad..95222ab12 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -83,7 +83,7 @@ module.exports = () => { }, plugins: [ new NodePolyfillPlugin({ - includeAliases: ['path', 'process', 'stream', 'util'], + includeAliases: ['Buffer', 'path', 'process', 'stream', 'util'], }), new HtmlWebpackPlugin({ 'build-platform': process.platform,