Developer forum

Forum » Feature requests » Hide DW comments from output

Hide DW comments from output

Nikki Strømsnes
Reply

Is it possible to disable rendering of DW system comments? It creates a lot of noise in the output, as seen below.

 

 

 


Replies

 
Jacob Bertelsen
Reply

Yeah, it would be nice to automatically remove comments, if they were not replaced with content.

 

Furthermore, it would be even more nice, if the online file editing tool didn't change special chars ("å" to "ÂY") as in third lowest line in the screendump below

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

@Nikki: Will be out in 8.3, TFS#12459

 

@Jacob: Will look into it. It probably has to do with your source files not being saved in UTF-8

 

BR Nicolai

Votes for this answer: 1
 
Nikki Strømsnes
Reply

Thanks for the swift response!

 

While we are on the subject of tidying up the output, is it also possible to strip the ID from containers with the dwcontent class? 

 
Nicolai Høeg Pedersen
Reply

It is, but a little more tricky since they could be used in your css...

So either as a setting on the settings attribute or a naming convention - like id="dw*" would be removed.

 

BR Nicolai

 
Nikki Strømsnes
Reply

Yes – or it could be a setting somewhere in the management center, perhaps?