diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 0a7a415583..dd2ba0ac4c 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -567,7 +567,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
* ``input_type``: ``'color'``
* ``template_name``:``'django/forms/widgets/color.html'``
- * Renders as: ````
+ * Renders as: ````
``SearchInput``
~~~~~~~~~~~~~~~
@@ -581,7 +581,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
* Renders as: ````
``TelInput``
-~~~~~~~~~~~~~~
+~~~~~~~~~~~~
.. versionadded:: 5.2
@@ -598,9 +598,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
Additionally, you can add server-side validation to your form field with a
validator like :class:`~django.core.validators.RegexValidator` or via
- third-party packages, such as `django-phonenumber-field`_.
-
-.. _django-phonenumber-field: https://django-phonenumber-field.readthedocs.io/en/latest/index.html
+ third-party packages, such as :pypi:`django-phonenumber-field`.
``PasswordInput``
~~~~~~~~~~~~~~~~~
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt
index 60794ac8ed..a64bc3bd00 100644
--- a/docs/releases/5.2.txt
+++ b/docs/releases/5.2.txt
@@ -167,7 +167,7 @@ Forms
~~~~~
* The new :class:`~django.forms.ColorInput` form widget is for entering a color
- in ``rrggbb`` hexadecimal format and renders as ````.
+ in ``rrggbb`` hexadecimal format and renders as ````.
Some browsers support a visual color picker interface for this input type.
* The new :class:`~django.forms.SearchInput` form widget is for entering search