> Why add to a list then sort. How does that guarantee the order is the same > as the page?
Because I sort them according to their indexes: text.find(u'bla') [(u'<span style="bla">', 3), (u'<span style="bla">', 13), (u'<span style="bla">', 30)] -- https://code.launchpad.net/~googol/openlp/bug-805088/+merge/75905 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

