Closed
Description
Part of my web app uses HTML from third parties. I'd like to be able to denote to tidy not to report on errors in that HTML. Maybe something like:
<div class="product-info">
Product information:
Specifications:
Blah blah blah:
<h3>Reviews from FooCorp:</h3>
<div class="foocorp-reviews">
<!-- tidy: ignore -->
This here is data provided by a third party that often has, for example,
numeric HTML entities instead of named ones.
<!-- tidy: go-back-to-not-ignoring -->
</div>
</div>
Alternatively, maybe it would allow us to change config options on the fly. For example, I'd want to know if the 3rd-party data and incorrectly structured HTML, but not if it used HTML entities instead of named. On most of my code, I care about numeric-but-not-named entities, but on this section of 3rd party HTML, I would not.