Skip to content

Commit 4e9a47e

Browse files
committed
Minor tweak
1 parent cf08882 commit 4e9a47e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Image.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ You can find a list of existing image mime types on the `IANA website`_.
444444

445445
**type**: ``string`` **default**: ``This file is not a valid image.``
446446

447-
The message ``The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.`` will be displayed
448-
if the allowed `mimeTypes`_ are only a subset of ``image/*``.
447+
If all the values of the `mimeTypes`_ option are a subset of ``image/*``, the
448+
error message will be instead: ``The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}.``
449449

450450
.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc
451451

0 commit comments

Comments
 (0)