You are here

public function HamlNestedRenderer::renderStartCodeBlock in Sassy 7

* Renders the start of a code block

Overrides HamlRenderer::renderStartCodeBlock

File

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

Class

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

Code

public function renderStartCodeBlock($node) {
  return $this
    ->getIndent($node) . parent::renderStartCodeBlock($node) . "\n";
}