Ignoring section of the HTML body using Data-Attributes instead of HTML comments.

Starting in September 2016, the HTML cleaner will be part of the HTMLContentBodyWithRequestProcessor: https://developers.coveo.com/display/SitecoreV4/Ignoring+Specific+HTML+Sections+from+an+Item+Body


An alternative approach would be to use data-attributes. This way, we would simply need to read existing attributes, and remove the need to add comments in existing Sublayouts/Renderings.

  • Simon Langevin
  • Sep 6 2016
  • Will not implement
I need it... Not sure -- just thought it was cool
  • Attach files
  • Admin
    Simon Langevin commented
    January 19, 2017 18:51

    Unless someone can propose a specific use case for this request, it will not be implemented. The comment approach is non disruptive since it does not affect the active html of the page.