diff options
author | Hakim El Hattab | 2015-09-25 09:41:05 +0200 |
---|---|---|
committer | Hakim El Hattab | 2015-09-25 09:41:05 +0200 |
commit | 9bcd1484bc583ffe015c5296e6a42c17f578ae49 (patch) | |
tree | a1a3d2f96d15d29946fcb0a08789ab30bc3f5f88 /plugin/notes/notes.js | |
parent | 1116d99e87c521b9c9c3de164a2f9d766bbdf224 (diff) |
notes defined in data-notes attributes retain preformatted whitespace
Diffstat (limited to 'plugin/notes/notes.js')
-rw-r--r-- | plugin/notes/notes.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/notes/notes.js b/plugin/notes/notes.js index e42329d..a0e8021 100644 --- a/plugin/notes/notes.js +++ b/plugin/notes/notes.js @@ -55,12 +55,14 @@ var RevealNotes = (function() { type: 'state', notes: '', markdown: false, + whitespace: 'normal', state: Reveal.getState() }; // Look for notes defined in a slide attribute if( slideElement.hasAttribute( 'data-notes' ) ) { messageData.notes = slideElement.getAttribute( 'data-notes' ); + messageData.whitespace = 'pre-wrap'; } // Look for notes defined in an aside element |