ahri / ahriphplibs

My PHP Libraries
http://ahri.net
GNU Affero General Public License v3.0
3 stars 0 forks source link

Node indenting #3

Closed ahri closed 14 years ago

ahri commented 14 years ago

Minor issue with indenting on Node:

$n = new Node('p', NULL, Node::INLINED);
$n->b('foo');
$n->i('bar');
echo $n;

OUTPUTS:

<p>    <b>foo</b>
    <i>bar</i>
</p>
ahri commented 14 years ago

fixed inlined spacing issue. closed by 90ff3a366972971e7df6913a54f47a02069b5409

ahri commented 14 years ago

There still exists a issue with the indenting, specifically a newline after the content.