CiviCRM

Views 3 display of description translates html tags to html equivalents

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 4.0.0, 4.0.1
  • Fix Version/s: 4.2
  • Component/s: CiviEvent
  • Labels:
    None

Description

In the description field of the event it appears CKEditor is adding in <p> tags for line breaks. When I create a page view displaying all active events, it translates the <p> tags to their HTML equivalent - &lt;p&gt; There is no way to remove the text using views.

Activity

Hide
Jeroen Groothuismink added a comment -
Stripping HTML by views has no effect.
It is the same effect as described in http://forum.civicrm.org/index.php?topic=10259.0
Show
Jeroen Groothuismink added a comment - Stripping HTML by views has no effect. It is the same effect as described in http://forum.civicrm.org/index.php?topic=10259.0
Hide
Jeroen Groothuismink added a comment -
Changing the handler (in components civircm.event.inc) from civicrm_handler_field_markup to views_handler_field_xss seems to do the trick.
Show
Jeroen Groothuismink added a comment - Changing the handler (in components civircm.event.inc) from civicrm_handler_field_markup to views_handler_field_xss seems to do the trick.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: