8000 Avoid broken action URL in text notification mail · symfony/symfony@ffa3570 · GitHub
[go: up one dir, main page]

Skip to content

Commit ffa3570

Browse files
authored
Avoid broken action URL in text notification mail
Some mail clients make URLs clickable automatically which leads to broken URLs due to the appended ":" (colon) Fix this by moving the 8000 action text before the action URL.
1 parent 473f79c commit ffa3570

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bridge/Twig/Resources/views/Email/zurb_2/notification

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Resources/views/Email/zurb_2/notification/body.txt.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
{% block action %}
1010
{% if action_url %}
11-
{{ action_url }}: {{ action_text }}
11+
{{ action_text }}: {{ action_url }}
1212
{% endif %}
1313
{% endblock %}
1414

0 commit comments

Comments
 (0)
0