diff --git a/openlp/core/lib/formattingtags.py b/openlp/core/lib/formattingtags.py index ae9d5c1cf..8230da36a 100644 --- a/openlp/core/lib/formattingtags.py +++ b/openlp/core/lib/formattingtags.py @@ -56,73 +56,115 @@ class FormattingTags(object): base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Red'), u'start tag': u'{r}', u'start html': u'', - u'end tag': u'{/r}', u'end html': u'', u'protected': True}) + u'end tag': u'{/r}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Black'), u'start tag': u'{b}', u'start html': u'', - u'end tag': u'{/b}', u'end html': u'', u'protected': True}) + u'end tag': u'{/b}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Blue'), u'start tag': u'{bl}', u'start html': u'', - u'end tag': u'{/bl}', u'end html': u'', u'protected': True}) + u'end tag': u'{/bl}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Yellow'), u'start tag': u'{y}', u'start html': u'', - u'end tag': u'{/y}', u'end html': u'', u'protected': True}) + u'end tag': u'{/y}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Green'), u'start tag': u'{g}', u'start html': u'', - u'end tag': u'{/g}', u'end html': u'', u'protected': True}) + u'end tag': u'{/g}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Pink'), u'start tag': u'{pk}', u'start html': u'', - u'end tag': u'{/pk}', u'end html': u'', u'protected': True}) + u'end tag': u'{/pk}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Orange'), u'start tag': u'{o}', u'start html': u'', - u'end tag': u'{/o}', u'end html': u'', u'protected': True}) + u'end tag': u'{/o}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Purple'), u'start tag': u'{pp}', u'start html': u'', - u'end tag': u'{/pp}', u'end html': u'', u'protected': True}) + u'end tag': u'{/pp}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'White'), u'start tag': u'{w}', u'start html': u'', - u'end tag': u'{/w}', u'end html': u'', u'protected': True}) + u'end tag': u'{/w}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({ u'desc': translate('OpenLP.FormattingTags', 'Superscript'), u'start tag': u'{su}', u'start html': u'', - u'end tag': u'{/su}', u'end html': u'', u'protected': True}) + u'end tag': u'{/su}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({ u'desc': translate('OpenLP.FormattingTags', 'Subscript'), u'start tag': u'{sb}', u'start html': u'', - u'end tag': u'{/sb}', u'end html': u'', u'protected': True}) + u'end tag': u'{/sb}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({ u'desc': translate('OpenLP.FormattingTags', 'Paragraph'), u'start tag': u'{p}', u'start html': u'
', u'end tag': u'{/p}', - u'end html': u'
', u'protected': True}) + u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Bold'), u'start tag': u'{st}', u'start html': u'', u'end tag': u'{/st}', u'end html': u'', - u'protected': True}) + u'protected': True, u'temporary': False}) base_tags.append({ u'desc': translate('OpenLP.FormattingTags', 'Italics'), u'start tag': u'{it}', u'start html': u'', u'end tag': u'{/it}', - u'end html': u'', u'protected': True}) + u'end html': u'', u'protected': True, u'temporary': False}) base_tags.append({ u'desc': translate('OpenLP.FormattingTags', 'Underline'), u'start tag': u'{u}', u'start html': u'', - u'end tag': u'{/u}', u'end html': u'', u'protected': True}) + u'end tag': u'{/u}', u'end html': u'', u'protected': True, + u'temporary': False}) base_tags.append({u'desc': translate('OpenLP.FormattingTags', 'Break'), u'start tag': u'{br}', u'start html': u'