fix(ihm): Correct htmltext in document forms (closes #4780)