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 0b5b4a66ef
commit 5830388ee2
No known key found for this signature in database
GPG key ID: 3D0787AAAF6C61DD

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`