diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2013-06-03 08:26:27 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2013-06-03 08:26:27 -0400 |
commit | 150aba760c734da42d8d667bd20577ce26c2a051 (patch) | |
tree | 577801acb6c3bf3aa4bcbef62aed4cad9a0185f0 /bs4/__init__.py | |
parent | 51486fdf424ec6dbe7581871d412d260f930657f (diff) |
Put the more frequently-used ASCII spaces in front.
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r-- | bs4/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py index e24d914..b9862d3 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -75,7 +75,7 @@ class BeautifulSoup(Tag): # want, look for one with these features. DEFAULT_BUILDER_FEATURES = ['html', 'fast'] - ASCII_SPACES = '\x20\x09\x0a\x0c\x0d' + ASCII_SPACES = '\x20\0a\x09\x0c\x0d' def __init__(self, markup="", features=None, builder=None, parse_only=None, from_encoding=None, **kwargs): |