Closed rndm2 closed 3 years ago
Thanks for the report!
We are actually handling nested A tags according to parser spec. To confirm, you can check this on www.astexplorer.net
Another way is to open chrome inspector and create a nested A tag in the source. When you click out of the edit box and inspect the DOM, you'll see that it's handled the same way.
Hope that helps!
Input:
Output:
I understand that
a
element inside anothera
is not allowed by HTML5 standard. But I believe parser should not make markup, it should parse it.