From 7653381a043ca66f9190c461cf70a28c2f836f26 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sat, 25 Sep 2021 16:13:20 +0200 Subject: [PATCH] Adding missing link target And changing recommendation for html5; see https://github.com/symfony/symfony/issues/41855 --- reference/constraints/Email.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/constraints/Email.rst b/reference/constraints/Email.rst index b2a978d4af5..2835b9f2317 100644 --- a/reference/constraints/Email.rst +++ b/reference/constraints/Email.rst @@ -135,7 +135,7 @@ address. Valid values are: * ``loose``, it uses a simple regular expression to validate the address (it checks that at least one ``@`` character is present, etc.). This validation is - too simple and it's recommended to use the ``html5`` validation instead; + very simple and it's recommended to use one of the other methods instead; * ``html5``, it validates email addresses using the same regular expression as the `HTML5 email input element`_, making the backend validation consistent with the one provided by browsers; @@ -152,3 +152,4 @@ configuration option. .. _egulias/email-validator: https://packagist.org/packages/egulias/email-validator .. _HTML5 email input element: https://www.w3.org/TR/html5/sec-forms.html#valid-e-mail-address +.. _RFC 5322: https://tools.ietf.org/html/rfc5322