MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / strip_known_markup_from_text

Function strip_known_markup_from_text

src/textcode/markup.py:304–308  ·  view source on GitHub ↗

Str_ip markup tags from ``text`` using a list of tags

(text)

Source from the content-addressed store, hash-verified

302
303
304def strip_known_markup_from_text(text):
305 """
306 Str_ip markup tags from ``text`` using a list of tags
307 """
308 return get_demarkuped_text(text, splitter=split_on_tags, keeper=keep_tag)
309
310
311ALL_TAGS = frozenset(

Callers 1

prepare_text_lineFunction · 0.90

Calls 1

get_demarkuped_textFunction · 0.85

Tested by

no test coverage detected