JD-P / accordius

Whistling Lobsters 2.0 backend with Django and Postgres
MIT License
1 stars 3 forks source link

Fix Markdown Bleach #14

Open JD-P opened 5 years ago

JD-P commented 5 years ago

Right now the markdown bleach extension is broken, in multiple ways.

  1. It seems to be outdated and non-working in the build last I checked.
  2. The actual functionality seems to be kind of difficult to avoid nuking legitimate extension markup with.

In theory the python markdown library is supposed to have a priority feature to schedule when certain extensions should run, in practice I've never gotten it to work. So fixing the markdown requires experimentation (and probably some source code spelunking) to figure out how to make this extension work the way I'd like.