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

Closes #2008
This commit is contained in:
Stan Hu 2015-07-18 07:32:18 -07:00
parent 895d988d55
commit 875d8e7f31
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
.note-body{class: note_editable?(note) ? 'js-task-list-container' : ''}
= cache [note, 'markdown'] do
= cache [note, 'markdown', user_color_scheme_class] do
.note-text
= preserve do
= markdown(note.note, {no_header_anchors: true})