rennat/pynliner — pull request #17 by jjang (2012-06-19 16:59:22+00:00)
Title: Handle mod_wsgi and bs4 incompatibility

Due to the incompatibility between mod-wsgi and BeautifulSoup (https://bugs.launchpad.net/beautifulsoup/+bug/948577), we check to see if mod_wsgi is being used, in which case, we use the html5 parser instead to ensure that the lxml parsing will not interfere. If mod_wsgi is not detected, BeautifulSoup can use whatever default parser, including lxml.