Code Duplication    Length = 8-8 lines in 2 locations

includes/tidy/Balancer.php 2 locations

@@ 2369-2376 (lines=8) @@
2366
2367
			# OMITTED: <plaintext>
2368
2369
			case 'button':
2370
				if ( $this->stack->inScope( 'button' ) ) {
2371
					$this->inBodyMode( 'endtag', 'button' );
2372
					return $this->insertToken( $token, $value, $attribs, $selfclose );
2373
				}
2374
				$this->afe->reconstruct( $this->stack );
2375
				$this->stack->insertHTMLElement( $value, $attribs );
2376
				return true;
2377
2378
			case 'a':
2379
				$activeElement = $this->afe->findElementByTag( 'a' );
@@ 2619-2626 (lines=8) @@
2616
2617
			# OMITTED: <form>
2618
2619
			case 'p':
2620
				if ( !$this->stack->inButtonScope( 'p' ) ) {
2621
					$this->inBodyMode( 'tag', 'p', [] );
2622
					return $this->insertToken( $token, $value, $attribs, $selfclose );
2623
				}
2624
				$this->stack->generateImpliedEndTags( $value );
2625
				$this->stack->popTag( $value );
2626
				return true;
2627
2628
			case 'li':
2629
				if ( !$this->stack->inListItemScope( $value ) ) {