Skip to content
Snippets Groups Projects
Commit 55b4f31d authored by Stan Hu's avatar Stan Hu Committed by Valery Sizov
Browse files

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

Closes #2008
parent ed5dcec5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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})
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment