Closed Bug 884644 Opened 11 years ago Closed 11 years ago

Render markdown in event details page

Categories

(Webmaker Graveyard :: webmaker.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jon, Unassigned)

Details

Currently everything is being double-escaped because I enabled global autoescaping on webmaker.org and that conflicts with the local escaping already done in the template. Event details will work fine, they just look ugly at the moment: https://webmaker.mofostaging.net/events/16
In https://github.com/mozilla/webmaker-events/commit/1da9523251ff4543b9c68b6caadd0a9bf46b59f2 I removed the extra escape filters, but that didn't fix the problem because the markdown filter outputs HTML, which then gets escaped. As a temporary fix I've removed the markdown filter, but we should look at adding it again once we have a way to escape the HTML it outputs. *cough* bleach *cough*.
Blocks: 884033
Summary: Fix event details HTML double-escaping → Render markdown in event details page
To be clear, there's no double escaped HTML on the events page, we simply don't render Markdown at the moment. This isn't critical to fix, just a nice to have.
Unblocking this, because un-rendered Markdown isn't a bug deal, and it's something we can't easily solve today.
No longer blocks: 884033
Resolved using 'safe' filter in webmaker-events#ab32475.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.