notes defined in data-notes attributes retain preformatted whitespace
This commit is contained in:
parent
1116d99e87
commit
9bcd1484bc
2 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue