Code Duplication    Length = 20-20 lines in 2 locations

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location

@@ 2927-2946 (lines=20) @@
2924
		$oldWhite = $this->eatWhiteDefault;
2925
		$this->eatWhiteDefault = false;
2926
2927
		while ($this->match($patt, $m, false)) {
2928
			$content[] = $m[1];
2929
			if ($m[2] == "@{") {
2930
				$this->count -= strlen($m[2]);
2931
				if ($this->interpolation($inter, false)) {
2932
					$content[] = $inter;
2933
				} else {
2934
					$this->count += strlen($m[2]);
2935
					$content[] = "@{"; // ignore it
2936
				}
2937
			} elseif ($m[2] == '\\') {
2938
				$content[] = $m[2];
2939
				if ($this->literal($delim, false)) {
2940
					$content[] = $delim;
2941
				}
2942
			} else {
2943
				$this->count -= strlen($delim);
2944
				break; // delim
2945
			}
2946
		}
2947
2948
		$this->eatWhiteDefault = $oldWhite;
2949

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location

@@ 3455-3474 (lines=20) @@
3452
		$oldWhite = $this->eatWhiteDefault;
3453
		$this->eatWhiteDefault = false;
3454
3455
		while ($this->matchString($m, $delim)) {
3456
			$content[] = $m[1];
3457
			if ($m[2] == "#{") {
3458
				$this->count -= strlen($m[2]);
3459
				if ($this->interpolation($inter, false)) {
3460
					$content[] = $inter;
3461
				} else {
3462
					$this->count += strlen($m[2]);
3463
					$content[] = "#{"; // ignore it
3464
				}
3465
			} elseif ($m[2] == '\\') {
3466
				$content[] = $m[2];
3467
				if ($this->literal($delim, false)) {
3468
					$content[] = $delim;
3469
				}
3470
			} else {
3471
				$this->count -= strlen($delim);
3472
				break; // delim
3473
			}
3474
		}
3475
3476
		$this->eatWhiteDefault = $oldWhite;
3477