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

Larissa Reis gitlab at gitlab.com
Tue Jun 9 12:14:56 BRT 2015


New comment for Merge Request 557

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


Larissa Reis

`suggested_articles` won't have this problem but `approve_articles`, used by the spread feature, will. They use the same visualization of the original article.

I also couldn't find a clean way to do it without breaking the f element. As we discussed on irc, the less ugly way I can see it working is escaping the `#body` from `approve_articles` model.

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


More information about the Noosfero-dev mailing list