Unexisting formating tags should be ignored, not displayed as text

Bug #1794541 reported by yurividal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
New
Undecided
Unassigned

Bug Description

We have created some Custom HTML tags, for example {caps} (which does <div style="text-transform: uppercase;"> and makes the text capital). This works just fine. The problem is that, if we want to share the song with annother user of OpenLP, if they dont have the HTML tag created too, OpenLP will display the {caps} as text on the live view.

I think that OpenLP should not show the {tags} as text in case the tag does not exist. It should simply ignore the tag, or perhaps even alert the user that they are trying to use an unexisting tag.

Tags: tags
Revision history for this message
yurividal (yurividal-l) wrote :
Revision history for this message
Tim Bentley (trb143) wrote :

How did you share the song with the other user as there should be functionality to support this in the code.

Revision history for this message
yurividal (yurividal-l) wrote :

Tim, you are right. I just realized that importing a song, will also import the tags.

Anyway, just to make sure that this is consistent, openlp could ignore unexisting tags.

This particular case happened to me because i sent my database sqlite file to annother computer, instead of doing the import thing.

you can close the bug, but maybe think about always ignoring unexisting {} tags.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.