processwire-requests icon indicating copy to clipboard operation
processwire-requests copied to clipboard

Documentation improvement for MarkupRegions

Open gebeer opened this issue 3 years ago • 1 comments

Short description of the enhancement

mention in the documentation that MarkupRegions is stripping HTML comments by default. Also mention how we can turn off this behaviour

Optional: Screenshots/Links that demonstrate the enhancement

https://processwire.com/talk/topic/27517-markupregions-is-stripping-out-html-comments/

gebeer avatar Sep 03 '22 10:09 gebeer

I would like to emphasise the following important issue which was mentioned in the discussion: https://processwire.com/talk/topic/27517-markupregions-is-stripping-out-html-comments/?do=findComment&comment=226394

Namely, comments should not be removed by default or at least this behaviour should be configurable: only comments starting with <!--# are the ones that will be removed, if a config option is set.

szabeszg avatar Sep 03 '22 15:09 szabeszg