From 5830388ee2e70ab9cfcc06728a80c5459bf3723a Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sat, 23 Feb 2019 00:02:01 +0000 Subject: [PATCH] Fix formatting issue in quickstart guide Due to a formatting issue in the reStructuredText input, the HTML output produced a description list (
) within the ordered list. --- docs/quickstart.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index a5fc3280..ee2f8ef2 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -265,14 +265,14 @@ Why would you want to build URLs using the URL reversing function 1. Reversing is often more descriptive than hard-coding the URLs. 2. You can change your URLs in one go instead of needing to remember to - manually change hard-coded URLs. + manually change hard-coded URLs. 3. URL building handles escaping of special characters and Unicode data - transparently. + transparently. 4. The generated paths are always absolute, avoiding unexpected behavior of relative paths in browsers. 5. If your application is placed outside the URL root, for example, in - ``/myapplication`` instead of ``/``, :func:`~flask.url_for` properly - handles that for you. + ``/myapplication`` instead of ``/``, :func:`~flask.url_for` properly + handles that for you. For example, here we use the :meth:`~flask.Flask.test_request_context` method to try out :func:`~flask.url_for`. :meth:`~flask.Flask.test_request_context`