diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py
index b76179c2c..721b6ae23 100644
--- a/openlp/core/lib/__init__.py
+++ b/openlp/core/lib/__init__.py
@@ -39,40 +39,40 @@ log = logging.getLogger(__name__)
html_expands = []
html_expands.append({u'desc':u'Red', u'start tag':u'{r}', \
- u'start html':u'', \
- u'end tag':u'{/r}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/r}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Black', u'start tag':u'{b}', \
- u'start html':u'', \
- u'end tag':u'{/b}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/b}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Blue', u'start tag':u'{bl}', \
- u'start html':u'', \
- u'end tag':u'{/bl}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/bl}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Yellow', u'start tag':u'{y}', \
- u'start html':u'', \
- u'end tag':u'{/y}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/y}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Green', u'start tag':u'{g}', \
- u'start html':u'', \
- u'end tag':u'{/g}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/g}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Pink', u'start tag':u'{pk}', \
- u'start html':u'', \
- u'end tag':u'{/pk}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/pk}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Orange', u'start tag':u'{o}', \
- u'start html':u'', \
- u'end tag':u'{/o}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/o}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Purple', u'start tag':u'{pp}', \
- u'start html':u'', \
- u'end tag':u'{/pp}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/pp}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'White', u'start tag':u'{w}', \
- u'start html':u'', \
- u'end tag':u'{/w}', u'end html':u'', \
+ u'start html':u'', \
+ u'end tag':u'{/w}', u'end html':u'', \
u'protected':False})
html_expands.append({u'desc':u'Superscript', u'start tag':u'{su}', \
u'start html':u'', \
diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py
index dffa5deec..d03b7f7cc 100644
--- a/openlp/core/lib/htmlbuilder.py
+++ b/openlp/core/lib/htmlbuilder.py
@@ -217,11 +217,12 @@ body {
text.innerHTML = newtext;
return;
}
- if(text.style.opacity=='') text.style.opacity = 1;
if(newtext==text.innerHTML){
text.style.opacity = parseFloat(text.style.opacity) + 0.3;
+ if(text.style.opacity>0.7)
+ text.style.opacity = 1;
} else {
- text.style.opacity -= 0.3;
+ text.style.opacity = parseFloat(text.style.opacity) - 0.3;
if(text.style.opacity<=0.1){
text.innerHTML = newtext;
}
@@ -400,14 +401,15 @@ def build_lyrics_html(item, webkitvers):
theme = item.themedata
if webkitvers < 534.4 and theme and theme.display_outline:
lyrics += u''
+ u''
if webkitvers < 533.3:
lyrics += u''
+ u''
lyrics += u''
+ u''
return lyrics
def build_footer_css(item):