MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / _handle_word

Function _handle_word

markdown/extensions/attr_list.py:52–57  ·  view source on GitHub ↗
(s, t)

Source from the content-addressed store, hash-verified

50
51
52def _handle_word(s, t):
53 if t.startswith('.'):
54 return '.', t[1:]
55 if t.startswith('#'):
56 return 'id', t[1:]
57 return t, t
58
59
60_scanner = re.Scanner([

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected