wrapTag()
wrapTag(string $tag, \Tale\Jade\Parser\Node $node, string $indent, string $newLine) : string
Wraps a node $node in tags using $tag.
Respects indentation and new-lines based on $indent and $newLine
Parameters
string | $tag | the tag to wrap the node in |
\Tale\Jade\Parser\Node | $node | the node to be wrapped |
string | $indent | the indentation to use on each child |
string | $newLine | the new-line to append after each line |
Returns
string —the wrapped PTHML-string