mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-10-28 12:25:13 +01:00
notes defined in data-notes attributes retain preformatted whitespace
This commit is contained in:
@@ -239,6 +239,7 @@
|
||||
// No need for updating the notes in case of fragment changes
|
||||
if ( data.notes ) {
|
||||
notes.classList.remove( 'hidden' );
|
||||
notesValue.style.whiteSpace = data.whitespace;
|
||||
if( data.markdown ) {
|
||||
notesValue.innerHTML = marked( data.notes );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user