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

Skip to content

Commit 6f6e8cf

Browse files
mbrodalafabpot
authored andcommitted
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 action text before the action URL.
1 parent 1a2e101 commit 6f6e8cf

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