You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out MarkDownify messes up the stack - it assumes the last thing (link) pushed to the stack is the url of the link when parsing. So if you add additional tags to the stack (in this instance an image), it thinks this what the link should point to.
The stack contains other details - attributes, reference ID (1 and 2 in the above) - and this mix up causes the above error.
Activity
stephenharris commentedon Mar 29, 2013
Turns out MarkDownify messes up the stack - it assumes the last thing (link) pushed to the stack is the url of the link when parsing. So if you add additional tags to the stack (in this instance an image), it thinks this what the link should point to.
The stack contains other details - attributes, reference ID (1 and 2 in the above) - and this mix up causes the above error.
dwiel commentedon Mar 30, 2013
This fixed it for me. Thanks!