<spandata-mw-thread-id="h--2021-02-24T19:24:00.000Z"><spandata-mw-comment-start=""id="h--2021-02-24T19:24:00.000Z"></span><spandata-mw-comment-end="h--2021-02-24T19:24:00.000Z"></span></span><spandata-mw-comment-start=""id="c-Matma_Rex-2021-02-24T19:24:00.000Z"></span><styledata-mw-deduplicate="TemplateStyles:r3303">.mw-parser-output.color-purple{color:purple}</style><divclass="color-purple">This page demonstrates some quirks of raw HTML generated in ParserOutput, which gets saved to the parser cache and which we operate on in the ParserAfterTidy hook. Most other test cases are using the final HTML returned by ParserOutput::getText(), which we operate on in the OutputPageBeforeHTML hook.</div>
<p>TODO: This is out of date, we no longer use OutputPageBeforeHTML, so we should really update all of the other tests instead of just this one D:
</p><p>Note:
</p>
<ul><li>No "mw-parser-output" wrapper div</li>
<li>Funky mw:editsection tags</li>
<li>'data-mw-anchor' attributes on headings</li></ul>
<divclass="mw-heading mw-heading2 ext-discussiontools-init-section"><spanclass="ext-discussiontools-init-section-subscribe mw-editsection-like"><spanclass="ext-discussiontools-init-section-subscribe-bracket">[</span><ahref="/w/index.php?title=Talk:For_parser_cache&action=dtsubscribe&commentname=h-Matma_Rex-2021-02-24T19%3A24%3A00.000Z&section=Heading+with+a+%22+quote"class="ext-discussiontools-init-section-subscribe-link"role="button"tabindex="0"title="(discussiontools-topicsubscription-button-subscribe-tooltip)">(discussiontools-topicsubscription-button-subscribe)</a><spanclass="ext-discussiontools-init-section-subscribe-bracket">]</span></span><h2data-mw-anchor="Heading_with_a_"_quote"data-mw-fallback-anchor="Heading_with_a_.22_quote"data-mw-thread-id="h-Heading_with_a_"_quote-2021-02-24T19:24:00.000Z"><spandata-mw-comment-start=""id="h-Heading_with_a_"_quote-2021-02-24T19:24:00.000Z"></span>Heading with a " quote<mw:editsectionpage="Talk:For parser cache"section="1">Heading with a " quote</mw:editsection><spandata-mw-comment-end="h-Heading_with_a_"_quote-2021-02-24T19:24:00.000Z"></span></h2><divclass="ext-discussiontools-init-section-bar"><divclass="ext-discussiontools-init-section-metadata"><spanclass='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>(discussiontools-topicheader-latestcomment: <ahref="#c-Matma_Rex-2021-02-24T19:24:00.000Z-Heading_with_a_"_quote">1614194640</a>)</span><spanclass='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>(discussiontools-topicheader-commentcount: 1)</span><spanclass='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>(discussiontools-topicheader-authorcount: 1)</span></div><divclass="ext-discussiontools-init-section-actions"></div></div></div>