From 63f8631298ff2e9d507f43259718a021fc891888 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Mon, 25 Nov 2024 15:39:49 -0500 Subject: [PATCH] Remove no longer relevant comment In I3b82aea975ed84c7410e57e19e83c508554e1b05, it was determined that this edge case is not going to be supported. Change-Id: Ia2ea80fc55af9f1e7e9a475afd730315ae6715cd --- src/Parsoid/References.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Parsoid/References.php b/src/Parsoid/References.php index ec1bfaaf6..64a597f81 100644 --- a/src/Parsoid/References.php +++ b/src/Parsoid/References.php @@ -224,9 +224,6 @@ class References extends ExtensionTagHandler { $refContent = $extApi->getContentDOM( $ref->contentId )->firstChild; $ref->cachedHtml = $extApi->domToHtml( $refContent, true, false ); } - // See the test, "Forward-referenced ref with magical follow edge case" - // Ideally, we should strip the mw:Cite/Follow wrappers before comparing - // But, we are going to ignore this edge case as not worth the complexity. $html = $extApi->domToHtml( $c, true, false ); $contentDiffers = ( $this->normalizeRef( $html ) !== $this->normalizeRef( $ref->cachedHtml ) ); }