Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Removing comments from HTML in AEM

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Nesan 

 

You can use the HTL comment instead of HTML comment;

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

 

Thanks! 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @Nesan 

 

You can use the HTL comment instead of HTML comment;

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

 

Thanks!