Fix formatting issue in quickstart guide

Due to a formatting issue in the reStructuredText input, the HTML
output produced a description list (<dl>) within the ordered list.
This commit is contained in:
Martin Michlmayr 2019-02-23 00:02:01 +00:00
parent 2f594dd1d6
commit 534bad66d8

View file

@ -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`