markdown
This commit is contained in:
@ -948,7 +948,11 @@ Note.renderNoteReadOnly = function(note) {
|
||||
$("#noteReadUpdatedTime").html(goNowToDatetime(note.UpdatedTime));
|
||||
}
|
||||
Note.renderNoteContentReadOnly = function(note) {
|
||||
$("#noteReadContent").html(note.Content);
|
||||
if(note.IsMarkdown) {
|
||||
$("#noteReadContent").html('<pre id="readOnlyMarkdown">' + note.Content + "</pre>");
|
||||
} else {
|
||||
$("#noteReadContent").html(note.Content);
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------
|
||||
|
Reference in New Issue
Block a user