Open franza opened 10 years ago
Thanks for catching this! I'll take a look in detail when I have some time this weekend.
Sure. If you have ideas how we can avoid reloading document bring it up.
Sorry, I've been lax on reviewing this. Still plan to get to this very soon. Thanks!
I was sure that I checked that for #16 but it seems that I missed that.
cleaner
mutates originaldoc
object sodoc
needs to be re-calculated. So right now aftercleaner
is applied we will suffer from side effect. Consider next example:Using this code over
test_tags_kexp.html
fixture we will have different results fortags()
sincecleaner
is called insidetext()
. So whencleaner
is called we need to reload document. Besides, I added some refactoring.