Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Removing comments from HTML in AEM

Nesan
Level 2
Level 2

Is there any configuration to remove the HTML comments in publisher environment in AEM 6.5.?

1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @Nesan 

 

You can use the HTL comment instead of HTML comment;

<!--/* Comment */-->

 

Thanks! 

View solution in original post

3 Replies
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @Nesan 

 

You can use the HTL comment instead of HTML comment;

<!--/* Comment */-->

 

Thanks! 

View solution in original post