Esempio n. 1
0
def lex(config, s):
    return list(lex_html(config, s))
Esempio n. 2
0
def lex(s):
    config = CFMParserConfig(document_id=("test.md",), document_path="test.md", allowed_tags=set())
    return list(html_lexer.lex_html(config, s))