aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes/notes.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-09-25 09:41:05 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-09-25 09:41:05 +0200
commit9bcd1484bc583ffe015c5296e6a42c17f578ae49 (patch)
treea1a3d2f96d15d29946fcb0a08789ab30bc3f5f88 /plugin/notes/notes.html
parent1116d99e87c521b9c9c3de164a2f9d766bbdf224 (diff)
downloadfreenode-live-2017-presentation-9bcd1484bc583ffe015c5296e6a42c17f578ae49.tar
freenode-live-2017-presentation-9bcd1484bc583ffe015c5296e6a42c17f578ae49.tar.gz
notes defined in data-notes attributes retain preformatted whitespace
Diffstat (limited to 'plugin/notes/notes.html')
-rw-r--r--plugin/notes/notes.html1
1 files changed, 1 insertions, 0 deletions
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 );
}