A custom twig extension to truncate text while preserving HTML tags.