Fix bug where linefeeds in glossterms prevented autoglossary popups from working.