noosfero | raw-html-article: escape body before rendering on edit (#557)

Rodrigo Souto gitlab at gitlab.com
Mon Jun 1 17:07:29 BRT 2015


New comment for Merge Request 557

https://gitlab.com/noosfero/noosfero/merge_requests/557#note_1317797


Rodrigo Souto

I tried but figure out a clean way to do that without breaking the `f` element that goes through the views and is used by both articles and tasks. I made it a little more generic by escaping only when dealing with Article, since the suggested_articles are visualized with TinyMce they will not have this problem.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150601/0905f8a6/attachment.html>


More information about the Noosfero-dev mailing list