fix html translating problems in searching