Issues

ZF-6807: Pretty-print for HTML view helpers

Issue Type: Improvement Created: 2009-05-26T03:10:47.000+0000 Last Updated: 2012-11-20T20:52:45.000+0000 Status: Closed Fix version(s): Reporter: Dalibor Karlovic (dkarlovi) Assignee: None Tags: - Zend_View

Related issues: Attachments:

Description

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.

Comments

Posted by Rob Allen (rob) on 2012-11-20T20:52:45.000+0000

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts