Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event pages need to display description as HTML #156

Closed
malemburg opened this issue Feb 22, 2014 · 8 comments
Closed

Event pages need to display description as HTML #156

malemburg opened this issue Feb 22, 2014 · 8 comments
Labels

Comments

@malemburg
Copy link
Member

The calendar teams uses HTML for formatting the event descriptions.

At the moment, the descriptions are displayed as text.

Example from https://www.python.org/events/python-user-group/95/

Guadalajara, Mexico PUG
25 Feb. from 1am to 3am, 2014

<a href="http://wiki.cabal.mx/wiki/PythonCabal/">Guadalajara PUG</a>

This applies to both the user group calendar and the events calendar.

@fcurella
Copy link
Contributor

I've committed a data migration fixing this in d698303

@malemburg
Copy link
Member Author

Flavio: I don't know how the site pulls in the calendar events from the Google calendars, but I could imagine that the script doing the sync will also need to be updated to set the description markup to 'html'.

Thanks.

@fcurella
Copy link
Contributor

@malemburg the script already parses them as html: https://github.com/python/pythondotorg/blob/master/events/importer.py#L62

The issue is just for events that were imported before 17d23b5

@malemburg
Copy link
Member Author

On 24.02.2014 21:55, Flavio Curella wrote:

@malemburg the script already parses them as html: https://github.com/python/pythondotorg/blob/master/events/importer.py#L62

The issue is just for events that were imported before 17d23b5

Ah, ok. Thanks for the note.

Marc-Andre Lemburg

@fcurella
Copy link
Contributor

the migraion has been run and the events have been fixed. Closing.

@malemburg
Copy link
Member Author

On 26.02.2014 22:27, Flavio Curella wrote:

the migraion has been run and the events have been fixed. Closing.

Thanks, Flavio.

Marc-Andre Lemburg

@malemburg
Copy link
Member Author

For some reason, the problem has resurfaced now, e.g.

https://www.python.org/events/python-user-group/174/

https://www.python.org/events/python-user-group/168/

https://www.python.org/events/python-user-group/173/

Note: These are new entries that have been added recently.

@malemburg
Copy link
Member Author

Closing again and opening a new issue instead: #435.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants