Don't consider lists for header promotion
We can be sure that lists won't contain headers, so we should implement a rule to keep list items from being promoted. We could either:
- not consider lists and list items in the entire-document header analysis, or
- allow list items to be considered in the overall document analysis (to calculate things like average run size, etc.) but never allow them to be promoted themselves.
My strong preference is to:
- exclude lists/list items from the overall whole-document analysis
- exclude list items from consideration for header promotion
If, for some reason, it's very difficult to exclude lists from the whole-document analysis, then it seems like it would be fine to only exclude list items for consideration for promotion to headers - that is the important part.
What do you think?