Open mogery opened 1 week ago
I was unable to reproduce the error, you can cross check at official website demo.
I was unable to reproduce the error, you can cross check at official website demo.
The demo has the error. The correct behaviour would be for the links array to be empty.
Oh. So, we need that when we exclude the a
tags, links should be []
.
Let's take a look into another perspective. What if, I need to exclude a
tags from the markup however, I need them in the links array. The reason I excluded the tags, because I don't want them to show up in the markup.
Is this a hypothetical scenario or do you actually need this functionality?
Actually, I haven't even used the library before and I am not sure about it's working. To answer you question, its a hypothetical situation that I though might be useful.
What you can do is, you can explicitly set the links to an []
.
Discord thread