mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 03:52:51 +01:00
Adjust comment to pass lint test
This commit is contained in:
parent
176fa55bf6
commit
ecfafb5041
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ def _scrape_strip_cruft(html, plain_text_out=False):
|
|||
html = re.sub(r' +', ' ', html) # Whitespaces collapse.
|
||||
html = BREAK_RE.sub('\n', html) # <br> eats up surrounding '\n'.
|
||||
html = re.sub(r'(?s)<(script).*?</\1>', '', html) # Strip script tags.
|
||||
html = re.sub(u'\u2005', " ", html) # replace Unicode Four-per-em space with regular space
|
||||
html = re.sub(u'\u2005', " ", html) # replace unicode with regular space
|
||||
|
||||
if plain_text_out: # Strip remaining HTML tags
|
||||
html = COMMENT_RE.sub('', html)
|
||||
|
|
|
|||
Loading…
Reference in a new issue