Thanks to visit codestin.com
Credit goes to github.com

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 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)