Add enrich_msg params
This commit is contained in:
parent
fa96dfd36d
commit
9f1aea1f5c
@ -39,7 +39,7 @@ def _is_image_token(token: str, extensions):
|
||||
return len(parts) == 2 and parts[1] in extensions
|
||||
|
||||
# this is similar to the markup function in microblog
|
||||
def enrich_msg(lines, is_atom=True):
|
||||
def enrich_msg(lines, is_atom=True, image_extensions=[], base_url=None):
|
||||
if not is_atom:
|
||||
return lines
|
||||
content = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user