Fix link building on text_to_dom.
This commit is contained in:
parent
3dc6213abb
commit
7beec0be05
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ def text_to_dom(tokens, item):
|
||||||
rng,
|
rng,
|
||||||
))
|
))
|
||||||
in_link = False
|
in_link = False
|
||||||
|
in_description = False
|
||||||
|
link_value = []
|
||||||
|
link_description = []
|
||||||
elif isinstance(tok, str) and in_link:
|
elif isinstance(tok, str) and in_link:
|
||||||
if in_description:
|
if in_description:
|
||||||
link_description.append(tok)
|
link_description.append(tok)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue