BAMPFA-210: Fix problems with richtext fields in repeatables, and fix styling issues.