Log: html tag security improvement

Didn't account for arrays that contain html tags previously