Properly escape marked up text in dictionary views