← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~googol-hush/openlp/render into lp:openlp

 

Ahh, so will there only ever be a <br> at the end of the word? Since I think '<br>.*$' and Raoul's rfind will get rid of the last <br> and everything after it. 
'abc<br>def' -> 'abc'.

Which is why I suggested '<br>$'. Although I accept string operations are quicker.

Also I think Raoul's ":" is in the wrong place? 
newstr = oldstr[:oldstr.rfind(u'<br>')] 

-- 
https://code.launchpad.net/~googol-hush/openlp/render/+merge/59467
Your team OpenLP Core is subscribed to branch lp:openlp.


References