I found that Liferay transfers my JSP code in a somehow “condensed” way — putting most of the text into a few very long lines.
This makes it uncomfortable to debug javascript.
Is it possible to turn off this feature temporary?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
HTML Minification is on regardless you’re in developer mode or not since HTML stripping can itself produce problems you want to see in developer mode.
You can add
strip=0parameter to the URL to prevent the served HTML page being stripped.In order to turn HTML-Stripping completely off change in your
system.properties:But as @BalusC said you should use a tool which does the formatting when debugging. So you’re not bothered by the stripping.