--- 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}}
--- a/templates/themes/ansi/context.tmpl Sun May 07 21:54:24 2017 +0200
+++ b/templates/themes/ansi/context.tmpl Sun May 07 21:54:50 2017 +0200
@@ -9,7 +9,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}}
@@ -26,7 +26,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}}
--- a/templates/themes/ansi/instance.tmpl Sun May 07 21:54:24 2017 +0200
+++ b/templates/themes/ansi/instance.tmpl Sun May 07 21:54:50 2017 +0200
@@ -2,4 +2,4 @@
URI: {{color "magenta"}}{{.uri}}{{color "reset"}}
Email: {{.email}}
Version: {{.version}}
- Description: {{color "blue"}}{{.description | fromhtml}}{{color "reset"}}
+ Description: {{color "blue"}}{{.description | fromhtml | wrap " " 80 | trim}}{{color "reset"}}
--- a/templates/themes/ansi/results.tmpl Sun May 07 21:54:24 2017 +0200
+++ b/templates/themes/ansi/results.tmpl Sun May 07 21:54:50 2017 +0200
@@ -10,7 +10,7 @@
Followers: {{.followers_count}}
Following: {{.following_count}}
{{- with .note}}{{if ne . "<p></p>"}}
- Note: {{. | fromhtml}}{{end}}{{end}}
+ Note: {{color "yellow"}}{{. | fromhtml | wrap " " 80 | trim}}{{color "reset"}}{{end}}{{end}}
{{- if eq .locked true}}
Locked: true{{end}}{{end}}{{/* of range */}}
{{end}}{{/* of accounts */}}
@@ -24,7 +24,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}}
--- a/templates/themes/ansi/status.tmpl Sun May 07 21:54:24 2017 +0200
+++ b/templates/themes/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}}