We have done some performance testing between bleach and lxml, it is worth noting that bleach is significantly slower than lxml in our experience increasing page load time by 300-400 milliseconds. See https://github.com/jupyter/nbconvert/issues/1892?notification_referrer_id=NT_kwDOAARsWrE0NzAwNjE2MjEwOjI4OTg4Mg¬ifications_query=repo%3Ajupyter%2Fnbconvert#issuecomment-1294475221
We have done some performance testing between bleach and lxml, it is worth noting that bleach is significantly slower than lxml in our experience increasing page load time by 300-400 milliseconds. See https:/ /github. com/jupyter/ nbconvert/ issues/ 1892?notificati on_referrer_ id=NT_kwDOAARsW rE0NzAwNjE2MjEw OjI4OTg4Mg& notifications_ query=repo% 3Ajupyter% 2Fnbconvert# issuecomment- 1294475221