ZF-6807: Pretty-print for HTML view helpers


The indentation code from Zend_View_Helper_Navigation_HelperAbstract should go to Zend_View_Helper_HtmlElement. This would enable all HTML-generating helpers to produce beautiful code. :) This could be done with levels, say you setInitialIndentLevel(2) and then call $this->_getWhitespace(3) inside your helper, this would return str_repeat($indentString, 5).

I know this seems a non-issue but some people really pay attention to these sorts of things, my boss among them. :) The pretty-print behaviour could also be on/off.


Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.