PHP Classes
elePHPant
Icontem

File: src/Cabin/Hull/View/cargo/blog_read_body.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Hull/View/cargo/blog_read_body.twig  >  Download  
File: src/Cabin/Hull/View/cargo/blog_read_body.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 11 months ago
Size: 512 bytes
 

Contents

Class file image Download
{% if blogpost.format == 'RST' %}{#
    #}{{ blogpost.snippet|CleanRST }}{#
    #}<span id="after-fold"></span>{#
    #}{{ blogpost.after_fold|CleanRST }}{#
#}{% elseif blogpost.format == 'Markdown' %}{#
    #}{{ blogpost.snippet|default("")|CleanMarkdown }}{#
    #}<span id="after-fold"></span>{#
    #}{{ blogpost.after_fold|default("")|CleanMarkdown }}{#
#}{% else %}{#
    #}{{ blogpost.snippet|purify|raw }}{#
    #}<span id="after-fold"></span>{#
    #}{{ blogpost.after_fold|purify|raw }}{#
#}{% endif %}