Fixes form inside form problem, and html entities in strings