Merge lp://staging/~alanjds/beautifulsoup/prettify-improved into lp://staging/beautifulsoup/3.2

Proposed by alanjds
Status: Needs review
Proposed branch: lp://staging/~alanjds/beautifulsoup/prettify-improved
Merge into: lp://staging/beautifulsoup/3.2
Diff against target: 57 lines (+10/-7)
1 file modified
BeautifulSoup.py (+10/-7)
To merge this branch: bzr merge lp://staging/~alanjds/beautifulsoup/prettify-improved
Reviewer Review Type Date Requested Status
Leonard Richardson Pending
Review via email: mp+44877@code.staging.launchpad.net

Description of the change

Hi.

I added an option to allow one to choose how many spaces to add per level, so I can use .prettify(spacesPerLevel=4), who I like more. Default remains to 1 more space per level.

Tests keep passing, and I tried to make the code easy to merge.

Best, Alan.

To post a comment you must log in.

Unmerged revisions

45. By Alan Justino <alanjds@lgpill>

Version marked with branch owner

44. By Alan Justino <alanjds@lgpill>

Option 'spacesPerLevel' added to .prettify()

- It allows one to set number of spaces who indent the tags

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: