From 7cc4b396cef4cecf43a80847302d4465135e529d Mon Sep 17 00:00:00 2001 From: Diksha Date: Mon, 24 Jun 2019 00:26:38 +0530 Subject: Updated the documentation --- doc/source/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/source') 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 = 'I linked to example.com' soup = BeautifulSoup(markup) @@ -2216,7 +2216,7 @@ Unicode characters to HTML entities whenever possible:: # # - 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":: -- cgit v1.2.3