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

Closed 3 years ago

Last modified 3 years ago

#1209 closed enhancement (fixed)

Clean HTML from Event title in category display

Reported by: jbenito Owned by: ferhatelmas
Priority: normal Milestone: v1.1
Component: General Version: 0.99
Keywords: Cc:

Description

In the list of events (categoryDisplay.py) we are not rendering the HTML to avoid that the page is broken. But the HTML in printed there, raw. We should clean the titles and remove the HTML before printing it.

Change History (8)

comment:1 Changed 3 years ago by ferhatelmas

  • Owner set to ferhatelmas
  • Status changed from new to assigned

comment:2 Changed 3 years ago by ferhatelmas

When I look at the pages via browser, I didn't see any broken title. Is there anything which should be there but not there? Could you give a bit more information?

comment:3 Changed 3 years ago by jbenito

Look at this page:

http://indico.cern.ch/categoryDisplay.py?categId=2

Look for the event: <b>Test jb Meeting</b>

The tag 'b' is there, raw, printed. This task aims to clean the Event titles so, in this case, we should only see: Test jb Meeting, in that list.

comment:4 Changed 3 years ago by ferhatelmas

  • Status changed from assigned to awaiting_merge

comment:5 Changed 3 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In cb818699854d5db09a057112e8aee67cf1f4ae48/indico:

[IMP] Use remove_tags for event/category listings

comment:6 Changed 3 years ago by pferreir

  • Status changed from awaiting_merge to merging

comment:7 Changed 3 years ago by pferreir

  • Resolution set to fixed
  • Status changed from merging to closed

comment:8 Changed 3 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In cb818699854d5db09a057112e8aee67cf1f4ae48/indico:

[IMP] Use remove_tags for event/category listings

Note: See TracTickets for help on using tickets.