OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:left_tag
(Results
1 - 2
of
2
) sorted by null
/external/markdown/markdown/
preprocessors.py
84
def _get_right_tag(self,
left_tag
, block):
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):
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:]
[
all
...]
/external/chromium_org/third_party/markdown/
preprocessors.py
150
def _get_right_tag(self,
left_tag
, left_index, block):
152
tag = p %
left_tag
153
i = self._recursive_tagfind("<%s" %
left_tag
, tag, left_index, block)
158
def _equal_tags(self,
left_tag
, right_tag):
159
if
left_tag
[0] in ['?', '@', '%']: # handle PHP, etc.
161
if ("/" +
left_tag
) == right_tag:
163
if (right_tag == "--" and
left_tag
== "--"):
165
elif
left_tag
== right_tag[1:] \
179
left_tag
= ''
197
left_tag
, left_index, attrs = "--", 2, {
[
all
...]
Completed in 270 milliseconds