Remove the html tags that come from the rss items descriptions
--------------------------------------------------------------

                 Key: MGNLRSSAGG-33
                 URL: http://jira.magnolia-cms.com/browse/MGNLRSSAGG-33
             Project: Magnolia RSS Aggregator Module
          Issue Type: Improvement
    Affects Versions: 1.1
            Reporter: Teresa Miyar
            Assignee: Jan Haderka
            Priority: Trivial


Item descriptions from rss feeds come with html tags that when shortening the 
description to display in the paragraphs some of this tags are not closed, 
causes a estrange rendering plus a not well formed html page. Fix i've been 
using in the freemarker template is adding the following: 

description?replace("</?[^>]+(>|$)", "", "r") it could also be added to the 
models

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to