summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/index.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 3664612..c693ff0 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -2297,7 +2297,7 @@ Unicode characters to HTML entities whenever possible::
# </html>
If you pass in ``formatter="html5"``, it's the same as
-``formatter="html5"``, but Beautiful Soup will
+``formatter="html"``, but Beautiful Soup will
omit the closing slash in HTML void tags like "br"::
soup = BeautifulSoup("<br>")