From 9bcd1484bc583ffe015c5296e6a42c17f578ae49 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 25 Sep 2015 09:41:05 +0200 Subject: notes defined in data-notes attributes retain preformatted whitespace --- plugin/notes/notes.html | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin/notes/notes.html') diff --git a/plugin/notes/notes.html b/plugin/notes/notes.html index 0cc8cf6..75f1b9b 100644 --- a/plugin/notes/notes.html +++ b/plugin/notes/notes.html @@ -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 ); } -- cgit v1.2.3