Changeset dd7b61 in indico
- Timestamp:
- 06/14/12 16:52:03 (11 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 0ceef3
- Parents:
- 0aef7f
- git-author:
- Alberto Resco Perez <alberto.resco.perez@…> (06/14/12 16:05:51)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (06/14/12 16:52:03)
- File:
-
- 1 edited
-
indico/web/http_api/ical.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/web/http_api/ical.py
r8cde5f rdd7b61 22 22 import datetime 23 23 import icalendar as ical 24 from lxml import html 24 25 25 26 # indico imports … … 74 75 75 76 if fossil['description']: 76 description += "Description: " + fossil['description'].decode('utf-8') + '\nURL: ' + fossil['url'] 77 description += "Description: " + html.fromstring(fossil.get('description', "<p/>").decode('utf-8')).text_content() \ 78 + '\nURL: ' + fossil['url'] 77 79 else: 78 80 description += "URL: " + fossil['url']
Note: See TracChangeset
for help on using the changeset viewer.
