I\'m using the Zend Framework\'s javascript helpers of the form:
headScript()->captureStart(); ?> //Javascript here h
print problematic code with PHP
If you print all script tag with PHP, NetBeans perfectlly format HTML tags