diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md
index 34fccdd0c..56d334658 100644
--- a/public/docs/release-notes.md
+++ b/public/docs/release-notes.md
@@ -12,6 +12,7 @@ You now need Node 16 to run HedgeDoc. We don't support more recent versions of N
### Bugfixes
- Fix that permission errors can break existing connections to a note, causing inconsistent note content and changes not being saved
+- Fix speaker notes not showing up in the presentation view
## 1.9.7 2023-02-19
diff --git a/webpack.common.js b/webpack.common.js
index 0a7b906c5..7827955f3 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -129,7 +129,12 @@ module.exports = {
{
context: path.join(__dirname, 'node_modules/reveal.js'),
from: 'plugin',
- to: 'reveal.js/plugin'
+ to: 'reveal.js/plugin',
+ transform (content, path) {
+ // The marked.js script wants a 'exports' variable and is referenced from plugin/notes/notes.html
+ // we copy, so just patch that to give it one.
+ return content.toString().replace('', '')
+ }
}
]
}),