correct setting htmltext parameters in arrays (refs #4220)