[Answer]-Django models.Textfield automatically wrapped in <p></p> in template

1👍

You can’t. The tag is hard coded into the filter.

Wrap it with another element <div class="my-class"> to use your selector or see if linebreaksbr is an appropriate filter to use within your own paragraph class (depends how long the content is / how you style your paragraphs).

Leave a comment