[Django-india] striptags messes spaces

Gaurav Dadhania gaurav.dadhania at gmail.com
Fri Oct 17 14:35:59 CEST 2014

Can you please give a concrete example when it is adding the non-breaking

I'm not seeing this behaviour:

Are you on an older version of Django? Maybe you'll have some luck with
using the `bleach` library for this purpose as recommended in the official
docs as a better alternative


On Fri, Oct 17, 2014 at 4:48 PM, Arun Kumar Dharuman <arundhaj at gmail.com>

> Hi,
> using striptags works fine removing html tags, however it adds   for
> any extra spaces.
> how to get rid of striptags converting spaces to " "?
> regards
> ArunDhaJ
> _______________________________________________
> Django-india mailing list
> Django-india at python.org
> https://mail.python.org/mailman/listinfo/django-india
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/django-india/attachments/20141017/8751acbb/attachment.html>

More information about the Django-india mailing list