summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2019-06-23 20:16:13 -0400
committerLeonard Richardson <leonardr@segfault.org>2019-06-23 20:16:13 -0400
commite0d2193a8b5423de5f94ae612265a02742e25a12 (patch)
treee1b648de88259b729ed6e3df30647226e6ed27eb /doc/source
parent267e57485b6002928ce5618ac3d2b845c872982c (diff)
parent7cc4b396cef4cecf43a80847302d4465135e529d (diff)
Corrected documentation changes; fixes made by Diksha Modi.
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/index.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 987b73d..767975d 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -2103,7 +2103,7 @@ Pretty-printing
The ``prettify()`` method will turn a Beautiful Soup parse tree into a
nicely formatted Unicode string, with a separate line for each
-tag and each string:
+tag and each string::
markup = '<a href="http://example.com/">I linked to <i>example.com</i></a>'
soup = BeautifulSoup(markup)
@@ -2216,7 +2216,7 @@ Unicode characters to HTML entities whenever possible::
# </body>
# </html>
- If you pass in ``formatter="html5"``, it's the same as
+If you pass in ``formatter="html5"``, it's the same as
``formatter="html5"``, but Beautiful Soup will
omit the closing slash in HTML void tags like "br"::