Merge pull request #2764 from evazion/fix-raw-note-bodies

Use raw note body instead of sanitized body for note edit box.
This commit is contained in:
Albert Yi
2016-12-05 11:39:50 -08:00
committed by GitHub
2 changed files with 6 additions and 5 deletions

View File

@@ -1 +1 @@
<article data-width="<%= note.width %>" data-height="<%= note.height %>" data-x="<%= note.x %>" data-y="<%= note.y %>" data-id="<%= note.id %>"><%= raw DText.sanitize(note.body) %></article>
<article data-width="<%= note.width %>" data-height="<%= note.height %>" data-x="<%= note.x %>" data-y="<%= note.y %>" data-id="<%= note.id %>" data-body="<%= note.body %>"><%= raw DText.sanitize(note.body) %></article>