templates/ansi-status.tmpl
changeset 95 4b80a5396961
parent 78 b40bc3a8b572
child 120 54b6f2a4098b
--- a/templates/ansi-status.tmpl	Sun May 07 21:54:24 2017 +0200
+++ b/templates/ansi-status.tmpl	Sun May 07 21:54:50 2017 +0200
@@ -13,7 +13,7 @@
   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}}
@@ -27,7 +27,7 @@
   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}}