@pirl8: Only very quickly:
1. I suppose Kindle Previewer does not run on Linux, or does it?
2. My method (currently) patches something deep, deep inside the rendering code, so there is no HTML at that point anymore. It's just letters.
But thanks anyway for the hints, I'll take a look at it.