This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Example: <code> function hello() { ?> <script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> <pre class="prettyprint lang-html linenums"> <script type="text/javascript"> // Say hello world until the user starts questioning // the meaningfulness of their existence. function helloWorld(world) { for (var i = 42; --i >= 0;) { alert('Hello ' + String(world)); } } </script> <style> p { color: pink } b { color: blue } u { color: "umber" } </style> </pre> <?php } </code> the auto format add white space on each line beginning inside <pre> tag every time you call Format function.