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
Reviewing your code, I added the attribute data-saferedirecturl to the htmlAttributes array in the dictionary and It worked; however, it will resolve only this specific case and not others with different non standard attribute names. What do you think about making the function isInsideAnchorTag ignore all the urls inside any property of an anchor?
The text was updated successfully, but these errors were encountered:
Hi, great library. When making tests using your project I noticed an invalid result with the following case:
<a href="https://www.validurl.com" data-saferedirecturl="https://www.validurl.com/file.png">Valid text</a>
Reviewing your code, I added the attribute data-saferedirecturl to the htmlAttributes array in the dictionary and It worked; however, it will resolve only this specific case and not others with different non standard attribute names. What do you think about making the function isInsideAnchorTag ignore all the urls inside any property of an anchor?
The text was updated successfully, but these errors were encountered: