Fix the buf of some html not being processed.