Prevent HTML tags at page meta content for calendar events
Description
is related to
relates
Activity

Paul PiaoMay 7, 2012 at 1:31 AM
PASSED Manual Testing using the following steps:
1. Add Calendar portlet.
2. Add a Event Description is:
3. Click Event.
4. Go to source.
5. Search "description name or tag name".
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.0 CE GA1.
I can see the "<meta name="description" content="<table border="1" cellpadding="1" cellspacing="1" style="width: 500px; "> <tbody> <tr> <td> hello</td> </tr> </tbody> </table> <p> &nbsp;</p>" lang="en-US" /> <meta name="keywords" content="paul" lang="en-US" />".
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 55b6c71fde77a8d3a42e6da8f7b38dfc77686d33.
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: f66f9850068000faffad7b98ba993adf647ccd66.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: b8baaee26d622ffb65065f96168983d301b9e350.
I can see the "<meta content="hello " lang="en-US" name="description" /> <meta content="paul" lang="en-US" name="keywords" />". It is working.
Details
Assignee
SE SupportSE SupportReporter
Eduardo GarcíaEduardo GarcíaLabels
Branch Version/s
6.1.xBackported to Branch
CommittedEpic/Theme
Git Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Epic/Theme
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Quick-Fix: The page meta content tag is filled with the event description at the detail-view of the event. Since the description field of calendar events is HTML-formatted, it is necessary to omit HTML tags for the meta content.