Help:Lint errors/unclosed-quotes-in-heading

NOTE: This error is expected to not be very common.

Problem
As you can tell, the unclosed quotes causes the i-tag to leak onto the rest of the page from that point on. Moreover, the unclosed tag is added as is to the TOC and then leaks from that point on to the rest of the page which causes the page to look broken.

Solution
Close unclosed double and triple quotes in headings.

Why does this happen?
This is the same reason as in the Help:Extension:Linter/pwrap-bug-workaround case and the Help:Extension:Linter/multiline-html-table-in-list cases. The PHP parser does not have enough information to recognize HTML5 structures. It parses wikitext mostly line-by-line and can misnest HTML tags and relies on Tidy / RemexHTML to fix it. In this cases, it generates HTML of the form ....''foo.. foo ''. Notice the unclosed &lt;i> tag in the TOC and the misnested &lt;i> tag in the heading.

Tools
The following tools can help fix unclosed quotes in heading:
 * WPCleaner: see instructions on how to use WPCleaner for fixing errors detected by Linter. Unclosed quotes in heading may be reported by WPCleaner as part of CheckWiki error #537.