fix #291: Syntax Highlighting in search results disappears after selecting an entry