django TextFeild print as a text Area

When printing django  TextFeild  without <p> </p> tag encoding it will display  just as a sentance without <br/> , \n ,\r ( breaks , newlines)


However text area can encoded with <p> </p>  and supported with  linebreaks   which result the paragrh with expected breaks and newlines
<p>
    {{ post.song |linebreaks }}
 </p>

Comments

Popular posts from this blog

ENOENT: no such file or directory, rename : node_modules/async

react-quill Integrate quill-image-resize-module