Merge pull request #4652 from hankhank10/2.1.x

This commit is contained in:
David Lord 2022-06-23 06:00:33 -07:00 committed by GitHub
commit f6be300c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,8 +184,8 @@ Replacing Content
A response might be new HTML, either a new section of the page to add or
replace, or an entirely new page. In general, if you're returning the
entire page, it would be better to handle that with a redirect as shown
in the previous section. The following example shows how to a ``<div>``
with the HTML returned by a request.
in the previous section. The following example shows how to replace a
``<div>`` with the HTML returned by a request.
.. code-block:: html