From abcb6c96777794da1142b0117f8c57f95cba65b7 Mon Sep 17 00:00:00 2001 From: hankhank10 Date: Thu, 23 Jun 2022 10:59:43 +0100 Subject: [PATCH] Update javascript.rst --- docs/patterns/javascript.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/patterns/javascript.rst b/docs/patterns/javascript.rst index 046029f4..dd3bcb9b 100644 --- a/docs/patterns/javascript.rst +++ b/docs/patterns/javascript.rst @@ -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 ``
`` -with the HTML returned by a request. +in the previous section. The following example shows how to replace a +``
`` with the HTML returned by a request. .. code-block:: html