Closed ffont closed 6 years ago
This is the template tag which converts http to https links. We should
<img>
tags have a src elementBleach/html5lib has filters (https://bleach.readthedocs.io/en/latest/clean.html#html5lib-filters-filters), which might do what we want, but I'm not sure how complex it would be to force it to rewrite an img
tag to an a
tag. I already like the simplicity of the current beautiful soup filter, so I would only use a bleach filter if we can make it look as nice and understandable.
https://logserver.mtg.upf.edu/sentry/freesound-web/issues/1022/
I thought we were not using BeautifulSoup anywhere now, but I guess we only replaced in some places?