glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Autolink element is not displayed

Open Hugo-C opened this issue 1 year ago • 0 comments

Hello, I spotted an issue when running glow on https://github.com/novuhq/novu/blob/next/SECURITY.md. It turns out emails/urls inside strong like in:

**[email protected]**

are not displayed at all. Strikethrough and italic are also affected.

I have dabbled a crude fix in https://github.com/Hugo-C/glamour/commit/2b5be5ee95ae92b69ddc293161ea7aeabdce0de0 but I wonder if the root cause could be from goldmark where AutoLink.Text returns nothing and we are then forced to call URL() or Label() on it ?

Hugo-C avatar Mar 17 '24 20:03 Hugo-C