Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Jinja2's {% filter trim %} seems to be a suitable repalcement in a lot of, BUT NOT ALL, situations. A lot of information can be found here.
For now I replaced spaceless with filter trim, to keep things going and to avoid depending on yet more not so alive code. Later, we will have to ensure that this does not have unwanted side effects.
In relation to https://github.com/martin-bts/askbot-devel/issues/13 we must replace the
{% spaceless %}
tags, of which Askbot makes heavy use.Jinja2's
{% filter trim %}
seems to be a suitable repalcement in a lot of, BUT NOT ALL, situations. A lot of information can be found here.For now I replaced
spaceless
withfilter trim
, to keep things going and to avoid depending on yet more not so alive code. Later, we will have to ensure that this does not have unwanted side effects.