Code Duplication    Length = 2-2 lines in 2 locations

_inc/lib/markdown/extra.php 2 locations

@@ 2024-2025 (lines=2) @@
2021
				#
2022
				# Increase/decrease nested tag count.
2023
				#
2024
				if ($tag{1} == '/')						$depth--;
2025
				else if ($tag{strlen($tag)-2} != '/')	$depth++;
2026
2027
				if ($depth < 0) {
2028
					#
@@ 2152-2153 (lines=2) @@
2149
				# the tag's name match base tag's.
2150
				#
2151
				if (preg_match('{^</?'.$base_tag_name_re.'\b}', $tag)) {
2152
					if ($tag{1} == '/')						$depth--;
2153
					else if ($tag{strlen($tag)-2} != '/')	$depth++;
2154
				}
2155
2156
				#