MCPcopy Create free account
hub / github.com/ShichaoMa/toolkit / format_html_string

Function format_html_string

toolkit/__init__.py:291–310  ·  view source on GitHub ↗

格式化html, 去掉多余的字符,类,script等。这个函数性能可能会较差。 :param html: 传入的html字符串 :return: 处理完的html

(html: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected