Commit 875d8e7f authored by Stan Hu's avatar Stan Hu

Fix bug where notes were being rendered with wrong color preferences due to caching

Closes #2008
parent 895d988d
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
.note-body{class: note_editable?(note) ? 'js-task-list-container' : ''} .note-body{class: note_editable?(note) ? 'js-task-list-container' : ''}
= cache [note, 'markdown'] do = cache [note, 'markdown', user_color_scheme_class] do
.note-text .note-text
= preserve do = preserve do
= markdown(note.note, {no_header_anchors: true}) = markdown(note.note, {no_header_anchors: true})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment