The issue is related to :
text = text.replace(/^(\r?\n\s*)+/g, ''); // Remove
leading newlines
text = text.replace(/^\s*/g, ''); // Remove leading
spaces due to indented formatting
text = text.replace(/(\r?\n\s*)+$/g, ''); // Remove
ending newlines
in the walk function.
If this 3 lines are removed, then the display is correct (at least for
the reported issue)
These lines are not part of prettify.js.
They have been introduced in:
http://svn-us.apache.org/viewvc?view=revision&sortby=date&revision=1330665
CJ
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org