fix rendering of html in notes in specialty sidebar