10000 bug #41739 Avoid broken action URL in text notification mail (mbrodala) · symfony/symfony@e1b81e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1b81e3

Browse files
committed
bug #41739 Avoid broken action URL in text notification mail (mbrodala)
This PR was submitted for the 5.3 branch but it was merged into the 5.2 branch instead. Discussion ---------- Avoid broken action URL in text notification mail | Q | A | ------------- | --- | Branch? | 5.3 for bug fixes <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> 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. Commits ------- 6f6e8cf Avoid broken action URL in text notification mail
2 parents 1a2e101 + 6f6e8cf commit e1b81e3

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