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
The string "<a attr=\"attr\">foo</a><a href=\"test.com\">bar</a>", when run through convert_to_text, returns bar ( test.com ) (omitting the foo part entirely). I think this is because the regexes for a tags in #convert_to_text are missing everything between <a and the href in the SECOND a tag.
For comparison, "<a>foo</a><a href=\"test.com\">bar</a>" (removing attr=\"attr\") returns foobar ( test.com ). The regex skips the first a tag entirely.
The text was updated successfully, but these errors were encountered:
The string
"<a attr=\"attr\">foo</a><a href=\"test.com\">bar</a>"
, when run throughconvert_to_text
, returnsbar ( test.com )
(omitting thefoo
part entirely). I think this is because the regexes fora
tags in#convert_to_text
are missing everything between<a
and thehref
in the SECONDa
tag.For comparison,
"<a>foo</a><a href=\"test.com\">bar</a>"
(removingattr=\"attr\"
) returnsfoobar ( test.com )
. The regex skips the firsta
tag entirely.The text was updated successfully, but these errors were encountered: