Source code for filters.lists
from markupsafe import Markup
[docs]
def join_tag(collection, tag_name):
text = f"<{tag_name}>"
text += f"</{tag_name}>, <{tag_name}>".join(collection)
text += f"</{tag_name}>"
return Markup(text)
from markupsafe import Markup
[docs]
def join_tag(collection, tag_name):
text = f"<{tag_name}>"
text += f"</{tag_name}>, <{tag_name}>".join(collection)
text += f"</{tag_name}>"
return Markup(text)