Skip to content

Commit

Permalink
don't strip attrs until after they're used
Browse files Browse the repository at this point in the history
(StripLowScored was failing in non-dev appserver)
  • Loading branch information
Anthony Lieuallen committed Mar 20, 2012
1 parent 0149615 commit 5865b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ def _Munge(soup, tag, url):

_MungeStripSiteSpecific(tag, url)
_MungeStripBrsAfterPs(tag)
_MungeStripAttrs(tag)
_MungeStripRules(tag)
_MungeStripEmpties(tag)
tag = _MungeStripRootContainers(tag)
_MungeStripLowScored(tag)
_MungeStripAttrs(tag)

_FixUrls(tag, url)
_MungeImages(tag)
Expand Down

0 comments on commit 5865b29

Please sign in to comment.