Merge lp:~tt./beautifulsoup/docs-typos into lp:beautifulsoup

Proposed by TT
Status: Merged
Approved by: Leonard Richardson
Approved revision: 450
Merged at revision: 463
Proposed branch: lp:~tt./beautifulsoup/docs-typos
Merge into: lp:beautifulsoup
Diff against target: 23 lines (+2/-2)
1 file modified
doc/source/index.rst (+2/-2)
To merge this branch: bzr merge lp:~tt./beautifulsoup/docs-typos
Reviewer Review Type Date Requested Status
Leonard Richardson Approve
Review via email: mp+331628@code.launchpad.net

Description of the change

In Docs rst source, add colons so following lines are rendered correctly. fixes: https://bugs.launchpad.net/beautifulsoup/+bug/1720577

To post a comment you must log in.
Revision history for this message
Leonard Richardson (leonardr) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/source/index.rst'
2--- doc/source/index.rst 2017-05-07 01:38:56 +0000
3+++ doc/source/index.rst 2017-10-01 19:51:23 +0000
4@@ -1271,7 +1271,7 @@
5 You can't use a keyword argument to search for HTML's 'name' element,
6 because Beautiful Soup uses the ``name`` argument to contain the name
7 of the tag itself. Instead, you can give a value to 'name' in the
8-``attrs`` argument.
9+``attrs`` argument::
10
11 name_soup = BeautifulSoup('<input name="email"/>')
12 name_soup.find_all(name="email")
13@@ -1732,7 +1732,7 @@
14 soup.select("a#link2")
15 # [<a class="sister" href="http://example.com/lacie" id="link2">Lacie</a>]
16
17-Find tags that match any selector from a list of selectors:
18+Find tags that match any selector from a list of selectors::
19
20 soup.select("#link1,#link2")
21 # [<a class="sister" href="http://example.com/elsie" id="link1">Elsie</a>,
22
23=== modified file 'test-all-versions' (properties changed: +x to -x)

Subscribers

People subscribed via source and target branches

to status/vote changes: