You are here

public function HamlCompactRenderer::renderClosingTag in Sassy 7

* Renders the closing tag of an element

Overrides HamlRenderer::renderClosingTag

File

phamlp/haml/renderers/HamlCompactRenderer.php, line 29

Class

HamlCompactRenderer
HamlCompactRenderer class. Renders blocks on single lines. @package PHamlP @subpackage Haml.renderers

Code

public function renderClosingTag($node) {
  return parent::renderClosingTag($node) . ($node->isBlock ? "\n" : ' ');
}