使用 linebreaks filter <p>{{ blogpassage.content|linebreaksbr }}<p> 转载于:https://www.cnblogs.com/jjj-fly/p/7131740.html