From c0ce8c3e54c1f4d22c6386fcc755d34833c0abd6 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 2 Sep 2014 21:45:35 -0700 Subject: [PATCH] Changelog for #927 --- beetsplug/lyrics.py | 2 +- docs/changelog.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index b7417db48..186e83d6e 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -122,7 +122,7 @@ def strip_cruft(lyrics, wscollapse=True): lyrics = unescape(lyrics) if wscollapse: lyrics = re.sub(r'\s+', ' ', lyrics) # Whitespace collapse. - lyrics = re.sub(r'<(script).*?(?s)', '', lyrics) # Strip script tags + lyrics = re.sub(r'<(script).*?(?s)', '', lyrics) # Strip script tags. lyrics = BREAK_RE.sub('\n', lyrics) #
newlines. lyrics = re.sub(r'\n +', '\n', lyrics) lyrics = re.sub(r' +\n', '\n', lyrics) diff --git a/docs/changelog.rst b/docs/changelog.rst index b435dcd41..9c24e11af 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -37,6 +37,8 @@ Fixes: data when the two are inconsistent. * Resuming imports and beginning incremental imports should now be much faster when there is a lot of previously-imported music to skip. +* :doc:`/plugins/lyrics`: Remove ``