Return None when asked to text_to_dom
None.
This should desambiguate the base data semantics.
This commit is contained in:
parent
f3ca823b0c
commit
baaa7cbb86
@ -186,7 +186,7 @@ def get_links_from_content(content):
|
||||
|
||||
def text_to_dom(tokens, item):
|
||||
if tokens is None:
|
||||
return []
|
||||
return None
|
||||
|
||||
in_link = False
|
||||
in_description = False
|
||||
|
Loading…
Reference in New Issue
Block a user