You are here

public function HamlExpandedRenderer::renderClosingTag in Sassy 7

* Renders the closing tag of an element

Overrides HamlRenderer::renderClosingTag

File

phamlp/haml/renderers/HamlExpandedRenderer.php, line 31

Class

HamlExpandedRenderer
HamlExpandedRenderer class. Blocks are on single lines and content indented. @package PHamlP @subpackage Haml.renderers

Code

public function renderClosingTag($node) {
  return $node->isSelfClosing ? '' : parent::renderClosingTag($node) . ($node->whitespaceControl['outer'] ? '' : "\n");
}