public function HamlCompactRenderer::renderOpeningTag in Sassy 7
* Renders the opening tag of an element
Overrides HamlRenderer::renderOpeningTag
File
- phamlp/
haml/ renderers/ HamlCompactRenderer.php, line 22
Class
- HamlCompactRenderer
- HamlCompactRenderer class. Renders blocks on single lines. @package PHamlP @subpackage Haml.renderers
Code
public function renderOpeningTag($node) {
return ($node->isBlock ? '' : ' ') . parent::renderOpeningTag($node);
}