When viewing the page source of the website, getting continuous blank lines on the page source. How can i achieve removing these blank lines?
I already tried by checking the Minify option present in HTML Library Manager, but no luck.
Steps to reproduce:
(1)Open Coca-Cola® | Taste The Feeling!
(2)Go to page source. Check blank lines appearing.
Create your won PostProcessingFilter to modify html output with that, you can remove any output you don't need.
There must be some way using which this can be achieved. If you see the page source of the below website, it achives blank space issue in page source. Any clue?
KPMG International - KPMG Global
I am not seeing any blank lines in the page. As far a page source - there is not much that can be done - as far as i know.
Nice site btw!
I am using HTL and content is rendering properly in the browser.
But once you open page property (for example Coca-Cola® | Taste The Feeling! ), you see blank lines appearing.
Are blank lines appearing in rendered content?
couple of old articles -
Adobe CQ/Adobe AEM: How to Remove White Space From Generated HTML In CQ (Or In general)
AEM 6.1 - How to Trim Whitespaces
Do you use jsp or HTL?
How does those blank lines impact your functionality as they are in page source and not visible to end user or to SEO engines?