silverstripe-cms/tests
kevin-hine-innis bcbeb6d626
FIX SiteTreeLinkTracking_Parser should use the getAnchorsOnPage (#2697)
Currently, the SiteTreeLinkTracking_Parser only checks the page's content for anchors.
As a result, any anchors that have been added or modified by the updateAnchorsOnPage extension in the getAnchorsOnPage method are marked ss-broken.

This change updates SiteTreeLinkTracking_Parser to get the anchors from the getAnchorsOnPage function on SiteTree. This will allow for more consistent RegEx matching and allow the updateAnchorsOnPage extension to be used when checking for broken links.
2021-11-04 09:31:34 +13:00
..
behat API phpunit9 support 2021-10-28 10:40:52 +13:00
bootstrap FIX Fixture the 'app' dir instead of mysite in unit tests 2018-04-11 19:04:45 +12:00
php FIX SiteTreeLinkTracking_Parser should use the getAnchorsOnPage (#2697) 2021-11-04 09:31:34 +13:00
bootstrap.php FIX Fixture the 'app' dir instead of mysite in unit tests 2018-04-11 19:04:45 +12:00