adding code to allow markup in event descriptions and titles to appear properly in popups