You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/08/06 23:42:43 UTC

[allura:tickets] #7952 Update beautifulsoup usage to v4



---

** [tickets:#7952] Update beautifulsoup usage to v4**

**Status:** open
**Milestone:** unreleased
**Labels:** cleanup 
**Created:** Thu Aug 06, 2015 09:42 PM UTC by Dave Brondsema
**Last Updated:** Thu Aug 06, 2015 09:42 PM UTC
**Owner:** nobody


[#7947] introduced beautifulsoup4, which can be installed side-by-side with beautifulsoup.  We should migrate our existing usage of beatifulsoup 3 over to 4.  

http://www.crummy.com/software/BeautifulSoup/bs4/doc/#porting-code-to-bs4

Note that when I started using bs4 in [e0e2f0] I had to choose a parser to use.  I went with html5lib because it seemed to work better ('html.parser' had some strange `</li>` behavior in a test).  But html5lib spits out html/head/body tags so we'll have to strip those out again.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.