if (m.topic) { try { m.topic = decodeURIComponent(m.topic); } catch (e) { } } if (m.topic && m.topic.length > 80) { m.topic = m.topic.substr(0, 79) + '…'; }