Searched refs:left_tag (Results 1 – 1 of 1) sorted by relevance
84 def _get_right_tag(self, left_tag, block): argument86 tag = p % left_tag89 return tag.lstrip("<").rstrip(">"), i + len(p)-2 + len(left_tag)90 return block.rstrip()[-len(left_tag)-2:-1].lower(), len(block)92 def _equal_tags(self, left_tag, right_tag): argument93 if left_tag == 'div' or left_tag[0] in ['?', '@', '%']: # handle PHP, etc.95 if ("/" + left_tag) == right_tag:97 if (right_tag == "--" and left_tag == "--"):99 elif left_tag == right_tag[1:] \113 left_tag = ''[all …]