Closed chorsnell closed 7 years ago
When both the href
and text are the same, we convert that to Markdown's autolink syntax. Based on the example you sent, it seems like this is working as intended.
@colinodell thanks for the quick response, wasn't aware that was a thing :+1:
I am having issues converting the following, which seems to be because the URL is the anchor text. If I change the anchor to a non URL it works.
This returns
Seems to be converting ok over here - https://domchristie.github.io/to-markdown/
Interesting, I am getting a very similar issue in another PHP library over here - https://github.com/Elephant418/Markdownify/issues/23