I have not run your code, but why return u'{su}{/su}' rather than an empty
string?
--
https://code.launchpad.net/~oliwee/openlp/HideBibleVerses/+merge/179526
Your team OpenLP Core is requested to review the proposed merge of
lp:~oliwee/openlp/HideBibleVerses into lp:openlp._______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : [email protected] Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp

