Code Duplication    Length = 5-7 lines in 2 locations

includes/parser/BlockLevelPass.php 2 locations

@@ 320-324 (lines=5) @@
317
						&& !$inBlockquote
318
					) {
319
						# pre
320
						if ( $this->lastSection !== 'pre' ) {
321
							$pendingPTag = false;
322
							$output .= $this->closeParagraph() . '<pre>';
323
							$this->lastSection = 'pre';
324
						}
325
						$t = substr( $t, 1 );
326
					} else {
327
						# paragraph
@@ 334-340 (lines=7) @@
331
								$pendingPTag = false;
332
								$this->lastSection = 'p';
333
							} else {
334
								if ( $this->lastSection !== 'p' ) {
335
									$output .= $this->closeParagraph();
336
									$this->lastSection = '';
337
									$pendingPTag = '<p>';
338
								} else {
339
									$pendingPTag = '</p><p>';
340
								}
341
							}
342
						} else {
343
							if ( $pendingPTag ) {