fixed sanitization for notes, added descaling when saving notes on scaled images

This commit is contained in:
albert
2011-09-13 19:50:38 -04:00
parent af9072d9ae
commit 78920aaf46
3 changed files with 15 additions and 7 deletions

View File

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