summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiksha <dikshamodi28@gmail.com>2019-06-24 00:26:38 +0530
committerDiksha <dikshamodi28@gmail.com>2019-06-24 00:26:38 +0530
commit7cc4b396cef4cecf43a80847302d4465135e529d (patch)
treee1b648de88259b729ed6e3df30647226e6ed27eb /doc
parent267e57485b6002928ce5618ac3d2b845c872982c (diff)
Updated the documentation
Diffstat (limited to 'doc')
-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"::