Why Nostr? What is Njump?
2024-09-08 13:05:15
in reply to

Terence Eden on Nostr: I think I've found a bug in nearly every #Markdown parser. Most of them will autolink ...

I think I've found a bug in nearly every #Markdown parser.

Most of them will autolink URls.

But consider this:

```
<a href="https:/example.com">You *must* visit https:/example.com</a>
```

You'll get back:

```
<a href="https:/example.com/">You <em>must</em> visit <a href="https:/example.com">https:/example.com</a></a></p>
```

All the Markdon inside the <a> - including the link - is processed.

The HTML is invalid; you can't nest <a>s like that.

Bug or not?
Author Public Key
npub1x595mggkh492xtl25nfk5j4xnd2yuscfgmp2n7s6csanxsn99vlq5egect