simplify html before processing to textile.