From db711a98ed9d76243eb60913f9863dd86efc9c3a Mon Sep 17 00:00:00 2001 From: Ulysses Lara Date: Mon, 7 Oct 2019 11:17:20 -0300 Subject: [PATCH] =?UTF-8?q?Arrumando=20apresenta=C3=A7=C3=A3o=20de=20exped?= =?UTF-8?q?ientes=20em=20pauta=20sess=C3=A3o=20Fix=20#2979=20(#2994)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 3 +-- sapl/templates/sessao/pauta_sessao_detail.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 60831f938..96fa5dfc5 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -3297,8 +3297,7 @@ class PautaSessaoDetailView(DetailView): for e in expediente: tipo = e.tipo conteudo = sub( - ' ', ' ', strip_tags(e.conteudo.replace('
', '\n'))) - + ' ', ' ', e.conteudo) ex = {'tipo': tipo, 'conteudo': conteudo} expedientes.append(ex) diff --git a/sapl/templates/sessao/pauta_sessao_detail.html b/sapl/templates/sessao/pauta_sessao_detail.html index e5462329e..1b976a8f1 100644 --- a/sapl/templates/sessao/pauta_sessao_detail.html +++ b/sapl/templates/sessao/pauta_sessao_detail.html @@ -26,7 +26,7 @@ {{e.tipo}}:

-

{{e.conteudo}}

+

{{e.conteudo|safe}}