Expand my Community achievements bar.

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!