code: def close_phrase(self, string, root, pos):
  
  		
  
  		# Whatever is between the opening tag and this closing tag
  		substring = string[:pos]
  
  		# Escape-character to escape the closing tag (/>)
  		if substring.endswith("\\"):
  
  			# Get rid of the escape character either way
  			string = string[:pos - 1] + string[pos:]
  
  			# Check if not double-escaped
  			if not substring[:-1].endswith("\\"):
  				# pos is now one index passed the closing tag
  				tag = self.meta.search(string, pos)
  
  				return string, None, tag
  
  			# Double-escape means this is really supposed to be a
  			# closing tag and thus we can return the phrase.
  			else:
  				# The closing position should be in the same scope
  				# as the scope of the opening position (scope in
  				# the sense of to which phrase the positions are
  				# relative to). -1 due to the escaped character but
  				# + 1 because index 0 is phrase.opening + 1
  				root.closing = root.opening + pos
  				root.string = string[:pos - 1]
  		else:
  			root.closing = root.opening + 1 + pos
  			root.string = string[:pos]
  
  		return string, root, None
docs: Helper function of self.parse() handling closing tags.
  
  		Arguments:
  			string (str): The string being parsed.
  			root (Phrase): The current root phrase.
  			pos (int): The index/position of the closing tag in the string.
  
  		Returns:
  			Always the (possibly) escaped string, then either the fully
  			formed phrase if the closing tag was not escaped (with its
  			'closing' and 'string' attributes set) and otherwise None,
  			and lastly the next tag if the closing tag was indeed escaped
  			and otherwise None -- i.e. either the tuple
  			(string, phrase, None) or (string, None, tag).