So if removing multiple trailing <br>'s either newstr = re.sub(u'(<br>)*$', u'', oldstr)
or
while oldstr.endswith(u'<br>'):
oldstr = oldstr[:-4]
--
https://code.launchpad.net/~googol-hush/openlp/render/+merge/59467
Your team OpenLP Core is subscribed to branch 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

