markdown
This commit is contained in:
public
File diff suppressed because one or more lines are too long
2
public/js/app/note-min.js
vendored
2
public/js/app/note-min.js
vendored
File diff suppressed because one or more lines are too long
@ -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