Code Duplication    Length = 2-6 lines in 3 locations

Sources/Subs-Editor.php 3 locations

@@ 616-621 (lines=6) @@
613
							}
614
615
							// We're not even in a list, ignore
616
							else
617
							{
618
								$parts[$i + 1] = '';
619
								$parts[$i + 2] = '';
620
								$parts[$i + 3] = '';
621
							}
622
						}
623
					break;
624
@@ 1325-1330 (lines=6) @@
1322
							continue;
1323
						}
1324
					}
1325
					else
1326
					{
1327
						// Get rid of this closing tag!
1328
						$parts[$i + 1] = $parts[$i + 2] = $parts[$i + 3] = $parts[$i + 4] = '';
1329
						continue;
1330
					}
1331
1332
					// Inline elements are still left opened?
1333
					if (!empty($inlineElements))
@@ 1372-1373 (lines=2) @@
1369
					}
1370
1371
					// Unexpected closing tag, ex-ter-mi-nate.
1372
					else
1373
						$parts[$i + 1] = $parts[$i + 2] = $parts[$i + 3] = $parts[$i + 4] = '';
1374
				}
1375
			}
1376
		}