You are here

public function HamlNestedRenderer::renderOpenComment in Sassy 7

* Renders the opening of a comment

Overrides HamlRenderer::renderOpenComment

File

phamlp/haml/renderers/HamlNestedRenderer.php, line 49

Class

HamlNestedRenderer
HamlNestedRenderer class. Blocks and content are indented according to their nesting level. @package PHamlP @subpackage Haml.renderers

Code

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