Misago\ActionView\Helpers\TagHelper

A collection of helpful functions to render HTML content.

Functions:

tag($name, $content=null, $attributes=null)

Renders an HTML tag.

Inline tags:

tag('hr')
tag('a', array('href' => 'http://www.toto.com/')) 

Content tags:

tag('article', $content)
tag('div', $content, array('class' => 'article')) 

cdata_section($content)

Renders a CDATA section.