diff --git a/openlp/core/lib/theme.py b/openlp/core/lib/theme.py
index d3abebe0a..aa24d0193 100644
--- a/openlp/core/lib/theme.py
+++ b/openlp/core/lib/theme.py
@@ -58,8 +58,8 @@ BLANK_THEME_XML = \
False
False
0
- True
- False
+ True
+ False
@@ -68,8 +68,8 @@ BLANK_THEME_XML = \
12
False
False
- True
- False
+ True
+ False
0
@@ -405,11 +405,14 @@ class ThemeXML(object):
# normal service happens here!
self._create_attr(master, element.tag, element.text)
if element.attrib:
- # correction for the shadow and outline tags
- if element.tag == u'shadow' or element.tag == u'outline':
- master = master + '_' + element.tag
for attr in element.attrib:
- self._create_attr(master, attr, element.attrib[attr])
+ base_element = attr
+ # correction for the shadow and outline tags
+ if element.tag == u'shadow' or element.tag == u'outline':
+ if not attr.startswith(element.tag):
+ elembase_elementent = element.tag + u'_' + attr
+ self._create_attr(master, base_element,
+ element.attrib[attr])
else:
self._create_attr(master, element.tag, element.text)
else: