| 24 | | It seems like the real culprit is `make_clickable()`, which isn't aware of when it's already inside a link. `wpautop()` doesn't help (it's what creates the invalid HTML in your examples), but maybe this would help if we simply prevented `make_clickable()` from creating a link _from_ existing link content. It //tries// to do this, but in the same naive way it tries to parse HTML. |
| | 24 | [[Image(https://cldup.com/qZC2M44t2X.png)]] |
| | 25 | |
| | 26 | It seems like the real culprit is `make_clickable()`, which isn't aware of when it's already inside a link. `wpautop()` doesn't help (it's what creates the invalid HTML in your examples and what cuts the existing `A` element in two), but maybe this would help if we simply prevented `make_clickable()` from creating a link _from_ existing link content. It //tries// to do this, but in the same naive way it tries to parse HTML. |