# HG changeset patch # User Goffi # Date 1590782299 -7200 # Node ID f5f428a50c1099744ab009a1e901d9cceabf89cb # Parent b54526baef6beb4362562107b93c07d9328ea81b chat, ticket: use `pre-wrap` instead of `pre` for whitespaces diff -r b54526baef6b -r f5f428a50c10 sat_templates/templates/bulma/chat/message.html --- a/sat_templates/templates/bulma/chat/message.html Tue May 19 18:41:14 2020 +0200 +++ b/sat_templates/templates/bulma/chat/message.html Fri May 29 21:58:19 2020 +0200 @@ -23,7 +23,7 @@ {% endif -%} -

+

{{- msg.html or (msg.text|urlize(nofollow=true, target="_blank")) -}}

diff -r b54526baef6b -r f5f428a50c10 sat_templates/templates/bulma/static/styles.css --- a/sat_templates/templates/bulma/static/styles.css Tue May 19 18:41:14 2020 +0200 +++ b/sat_templates/templates/bulma/static/styles.css Fri May 29 21:58:19 2020 +0200 @@ -3,8 +3,8 @@ --photo-height--poster: 500px; } -.has-whitespace-pre { - white-space: pre; +.has-whitespace-pre-wrap { + white-space: pre-wrap; } .is-avatar { diff -r b54526baef6b -r f5f428a50c10 sat_templates/templates/bulma/ticket/overview.html --- a/sat_templates/templates/bulma/ticket/overview.html Tue May 19 18:41:14 2020 +0200 +++ b/sat_templates/templates/bulma/ticket/overview.html Fri May 29 21:58:19 2020 +0200 @@ -27,7 +27,7 @@ field_class_map={ 'title': 'has-text-weight-bold', 'labels': 'tag is-rounded x-is-hoverable', - 'id': 'has-text-grey-light is-size-7 has-whitespace-pre', + 'id': 'has-text-grey-light is-size-7 has-whitespace-pre-wrap', 'author': 'is-size-7' }, on_click=on_ticket_click)