$glossarydescription = htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode($foundterms['glossarydescription'], true), 100);