Django filter stack to cleanup WYSIWYG output

1
{{ value|removetags:"br div p span style"|safe|linebreaks }}

More like this

  1. Smart Spaceless by btaylordesign 3 years ago
  2. Analogue template filter to removetags that also removes the content of the tag by piquadrat 3 years, 5 months ago
  3. Template tag: Group variables into list by Killarny 5 years, 1 month ago
  4. Add CSS class template filter by lazerscience 3 years, 5 months ago
  5. favicon Template Tag by benjy_mouse 4 years, 2 months ago

Comments

(Forgotten your password?)