Home
last modified time | relevance | path

Searched refs:left_tag (Results 1 – 2 of 2) sorted by relevance

/external/markdown/markdown/
Dpreprocessors.py84 def _get_right_tag(self, left_tag, block): argument
86 tag = p % left_tag
89 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): argument
93 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 …]
/external/autotest/tko/parsers/test/
Dinspect_parser_result_store.py33 def compare(left_tag, right_tag): argument
34 missing = set([left_tag, right_tag]).difference(sto.keys())
41 sto[left_tag], sto[right_tag]):