From 7436621316d55af38db9634460d7c5b1077c1a56 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 1 May 2011 14:58:28 +0100 Subject: [PATCH] Fix incorrect colour specification Fixes: https://launchpad.net/bugs/774853 --- openlp/core/lib/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index 687c49094..ea08281cd 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -37,6 +37,7 @@ log = logging.getLogger(__name__) base_html_expands = [] +# Hex Color tags from http://www.w3schools.com/html/html_colornames.asp base_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'protected': True}) @@ -53,13 +54,13 @@ base_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'protected': True}) base_html_expands.append({u'desc': u'Pink', u'start tag': u'{pk}', - u'start html': u'', + u'start html': u'', u'end tag': u'{/pk}', u'end html': u'', u'protected': True}) base_html_expands.append({u'desc': u'Orange', u'start tag': u'{o}', - u'start html': u'', + u'start html': u'', u'end tag': u'{/o}', u'end html': u'', u'protected': True}) base_html_expands.append({u'desc': u'Purple', u'start tag': u'{pp}', - u'start html': u'', + u'start html': u'', u'end tag': u'{/pp}', u'end html': u'', u'protected': True}) base_html_expands.append({u'desc': u'White', u'start tag': u'{w}', u'start html': u'',