Simple block on one line: <div>foo</div> And nested without indentation: <div> <div> <div> foo </div> </div> <div>bar</div> </div>
info at phpclasses dot org