Add BeautifulSoup.py to the ietf/contrib/ directory so it doesn't have to be installed separately

- Legacy-Id: 289
This commit is contained in:
Henrik Levkowetz 2007-06-10 14:02:11 +00:00
parent 78cbaf497b
commit 7c60b321cd
3 changed files with 1769 additions and 1 deletions

File diff suppressed because it is too large Load diff

View file

@ -1 +1,2 @@
from form_decorator import form_decorator from form_decorator import form_decorator
import BeautifulSoup

View file

@ -2,7 +2,7 @@
import re import re
import textwrap import textwrap
from BeautifulSoup import Tag, BeautifulSoup, NavigableString from ietf.contrib.BeautifulSoup import Tag, BeautifulSoup, NavigableString
block_tags = ["[document]", "html", "body", "div", "blockquote", "table", "tr", "p", "pre", "h1", "h2", "h3", "h4", "h5", "h6", ] block_tags = ["[document]", "html", "body", "div", "blockquote", "table", "tr", "p", "pre", "h1", "h2", "h3", "h4", "h5", "h6", ]
ignore_tags = ["head", "script", "style"] ignore_tags = ["head", "script", "style"]