From 035b7d352374f5739d4c8d67ede1263294ff977c Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 9 Apr 2019 15:41:18 -0300 Subject: [PATCH] =?UTF-8?q?Ajusta=20tags=20para=20n=C3=A3o=20estourar=20ml?= =?UTF-8?q?2pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/relatorios/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/relatorios/views.py b/sapl/relatorios/views.py index 117b7a172..5bd3fe6f7 100755 --- a/sapl/relatorios/views.py +++ b/sapl/relatorios/views.py @@ -580,7 +580,9 @@ def get_sessao_plenaria(sessao, casa): # https://github.com/interlegis/sapl/issues/1046 conteudo = re.sub('style=".*?"', '', conteudo) conteudo = re.sub('class=".*?"', '', conteudo) + conteudo = re.sub('align=".*?"', '', conteudo) # OSTicket Ticket #796450 conteudo = re.sub('', '

', conteudo) + conteudo = re.sub('', '
', conteudo) # OSTicket Ticket #796450 conteudo = html.unescape(conteudo) # escape special character '&'