Skip to content

Instantly share code, notes, and snippets.

<?php
/*
* This file is part of the Twig Extension TruncateHtmlExtension.
*
* Author Leon Radley <leon@radley.se>
* Rewrite by Instabledesign
*
*
* Truncate Html string without stripping tags