You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
/*
// Test fails on CI:
// due to new lines.
$this->assertEquals(
'<div class="wpdtrt-anchorlinks__section wpdtrt-anchorlinks__anchor" id="heading-1" tabindex="-1"><h2 data-anchorlinks-id="heading-1">Heading 1<a class="wpdtrt-anchorlinks__anchor-link" href="#heading-1"><span aria-label="Anchor" class="wpdtrt-anchorlinks__anchor-icon">#</span></a></h2><p>Text</p></div>',
trim( $dom->saveHTML( $dom->getElementsByTagName( 'div' )[0] ) ),
'Expected first div to be a section containing a heading and text'
);
*/
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: