protected function HamlNode::debug in Sassy 7
7 calls to HamlNode::debug()
- HamlCodeBlockNode::render in phamlp/
haml/ tree/ HamlCodeBlockNode.php - HamlCommentNode::render in phamlp/
haml/ tree/ HamlCommentNode.php - HamlDoctypeNode::render in phamlp/
haml/ tree/ HamlDoctypeNode.php - * Render this node. *
- HamlElementNode::render in phamlp/
haml/ tree/ HamlElementNode.php - HamlFilterNode::render in phamlp/
haml/ tree/ HamlFilterNode.php - * Render this node. * The filter is run on the content of child nodes before being returned. *
File
- phamlp/
haml/ tree/ HamlNode.php, line 234
Class
- HamlNode
- HamlNode class. Base class for all Haml nodes. @package PHamlP @subpackage Haml.tree
Code
protected function debug($output) {
$output = $this->showSource ? $this
->showSource($output) : $output;
return $this->showOutput && $this->line['indentLevel'] == 0 ? nl2br(str_replace(' ', ' ', htmlspecialchars($output))) : $output;
}