iCal feed contains HTML in the Description property

Bug #927034 reported by Kit Blake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SilvaNewsNetwork
New
Low
Unassigned

Bug Description

The iCal feed from a SNN event calendar contains HTML in the Description property. This appears as 'Note' in Apple iCal, and you see all the markup in the Note. The content is the same as the rendered HTML in the web page.

The Description property should have a Value Type of TEXT so we'll need to strip out the markup.

Revision history for this message
Sylvain Viollon (thefunny) wrote :

I know, I did it on purpose. All clients that I have tested where able to display it.

Revision history for this message
Kit Blake (kitblake) wrote :

One client, Apple's iCal, shows all the markup. Do we need to specify an altrepparam of text/html or something? Here's the spec:

4.8.1.5 Description

   Property Name: DESCRIPTION

   Purpose: This property provides a more complete description of the
   calendar component, than that provided by the "SUMMARY" property.

   Value Type: TEXT

   Property Parameters: Non-standard, alternate text representation and
   language property parameters can be specified on this property.

   Conformance: The property can be specified in the "VEVENT", "VTODO",
   "VJOURNAL" or "VALARM" calendar components. The property can be
   specified multiple times only within a "VJOURNAL" calendar component.

   Description: This property is used in the "VEVENT" and "VTODO" to
   capture lengthy textual decriptions associated with the activity.

   This property is used in the "VJOURNAL" calendar component to capture
   one more textual journal entries.

   This property is used in the "VALARM" calendar component to capture
   the display text for a DISPLAY category of alarm, to capture the body
   text for an EMAIL category of alarm and to capture the argument
   string for a PROCEDURE category of alarm.

   Format Definition: The property is defined by the following notation:

     description = "DESCRIPTION" descparam ":" text CRLF

     descparam = *(

                ; the following are optional,
                ; but MUST NOT occur more than once

                (";" altrepparam) / (";" languageparam) /

                ; the following is optional,
                ; and MAY occur more than once

                (";" xparam)

                )

http://tools.ietf.org/html/rfc2445#page-81

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.