Cache markdown of comments
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
40e31e1db3
commit
4d80360bed
1 changed files with 5 additions and 4 deletions
|
@ -56,6 +56,7 @@
|
|||
|
||||
|
||||
.note-body{class: note_editable?(note) ? 'js-task-list-container' : ''}
|
||||
= cache [note, 'markdown'] do
|
||||
.note-text
|
||||
= preserve do
|
||||
= markdown(note.note, {no_header_anchors: true})
|
||||
|
|
Loading…
Reference in a new issue