PHP Classes

File: libs/Twig/doc/filters/striptags.rst

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/doc/filters/striptags.rst   Download  
File: libs/Twig/doc/filters/striptags.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 290 bytes
 

Contents

Class file image Download
``striptags`` ============= The ``striptags`` filter strips SGML/XML tags and replace adjacent whitespace by one space: .. code-block:: jinja {{ some_html|striptags }} .. note:: Internally, Twig uses the PHP `strip_tags`_ function. .. _`strip_tags`: http://php.net/strip_tags