diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py index 1a66f9288..3a8e21285 100644 --- a/openlp/core/lib/htmlbuilder.py +++ b/openlp/core/lib/htmlbuilder.py @@ -261,7 +261,8 @@ sup { clearTimeout(timer); text_fade('lyricsmain', newtext); text_fade('lyricsoutline', newtext); - text_fade('lyricsshadow', newtext.replace(/-webkit-text-fill-color:[^;\"]+/gi, "")); + cleantext = newtext.replace(/-webkit-text-fill-color:[^;\"]+/gi, ""); + text_fade('lyricsshadow', cleantext); if(text_opacity()==1) return; timer = setTimeout(function(){ show_text(newtext);