You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dataverse has a large number of HTML developer comments that are unsightly when looking at the source code. Furthermore, commented out render logic in our XHTML can lead to unforseen data being inserted into our webpages. Instead of using the ui:remove tag on each comment (which is inevitably forgotten), we can instead use this chunk in the web.xml to remove all comments.
This can still be easily turned off by developers working on their local machines but will ensure that our production machines look good and are safer!
The text was updated successfully, but these errors were encountered:
Dataverse has a large number of HTML developer comments that are unsightly when looking at the source code. Furthermore, commented out render logic in our XHTML can lead to unforseen data being inserted into our webpages. Instead of using the ui:remove tag on each comment (which is inevitably forgotten), we can instead use this chunk in the web.xml to remove all comments.
<context-param> <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param>
This can still be easily turned off by developers working on their local machines but will ensure that our production machines look good and are safer!
The text was updated successfully, but these errors were encountered: