templates/themes/ansi/notification.tmpl
changeset 99 a179dc99a044
parent 88 028f7b02bd3e
child 117 e742059aa3e1
--- a/templates/themes/ansi/notification.tmpl	Sun May 07 23:22:28 2017 +0200
+++ b/templates/themes/ansi/notification.tmpl	Mon May 08 00:46:02 2017 +0200
@@ -21,14 +21,14 @@
       Sensitive: true{{end}}
 {{- with .spoiler_text}}
       Spoiler: {{.}}{{end}}
-      Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}{{end}}{{else}}
+      Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}{{end}}{{else}}
 {{- if gt .in_reply_to_id 0.0}}
     Replying to: {{.in_reply_to_id}}{{end}}
 {{- if .sensitive}}
   Sensitive: true{{end}}
 {{- with .spoiler_text}}
     Spoiler: {{.}}{{end}}
-    Message: {{color "blue"}}{{.content | fromhtml}}{{color "reset"}}
+    Message: {{color "blue"}}{{.content | fromhtml | wrap "     " 80 | trim}}{{color "reset"}}
 {{- range .media_attachments}}
     - Attachment ID: {{printf "%.0f" .id}}
 {{- if .text_url}}