ZEN-14173: smartly sanitize event details, links and images tags are still usable

port from 425 that was reviewed by Joseph Hanson