Trim whitespaces in the breadcrumb texts

Updated the Twig template to trim any text's surrounding whitespace. This way, we avoid having links underlined with spaces at the end.