This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 3 years ago

Last modified 2 years ago

#1100 new defect

When event description is a HTML comment, iCal export fails

Reported by: pferreir Owned by:
Priority: critical Milestone: v2.3
Component: RSS/iCal/XML/Metadata Version: 0.98-dev
Keywords: Cc:

Description

I know, right? Why would someone want to do this?

In any case, this breaks the iCal export, which can be even more problematic if the event is part of an exported category.

The problem is lxml's HTML parser considers the document to be empty.
A possible fix would be using BeautifulSoup or any similar foolproof HTML parsing lib. I wonder if there is an easier fix, though.

Change History (2)

comment:1 Changed 3 years ago by jbenito

  • Milestone changed from v1.0 to v1.5
  • Priority changed from normal to critical

comment:2 Changed 2 years ago by vishrut009

I think this is not a defect anymore.
Created an event and wrote in the description <!-- html comment -->
iCal export works.

Note: See TracTickets for help on using tickets.