You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code in link: [`foo`](https://example.com)
No code in link: [foo](https://example.com)
Some code in link: [some other `code` in here](https://example.com)
The following output will be generated:
.nh
.PP
Code in link:
\[la]https://example.com\[ra]
No code in link: foo
\[la]https://example.com\[ra]
Some code in link: some other
\[la]https://example.com\[ra]
Expected output:
.nh
.PP
Code in link: \fB\fCfoo\fR\[la]https://example.com\[ra]
No code in link: foo
\[la]https://example.com\[ra]
Some code in link: some other \fB\fCcode\fR in here
\[la]https://example.com\[ra]
go-md2man version: 7a5c8b3
golang version: 1.14.15
Linux x86_64
The text was updated successfully, but these errors were encountered:
h3xx
changed the title
Link text cut off when link text contains backticks (\code\)
Link text cut off when link text contains backticks (code)
Feb 16, 2023
When a markdown link text contains backticks, it gets rendered incorrectly, omitting some or all of the link text.
It appears to omit everything after and including the first backtick, e.g. "foo `bar` baz" becomes "foo ".
MCVE
Given the following input:
The following output will be generated:
Expected output:
go-md2man
version: 7a5c8b3golang version: 1.14.15
Linux x86_64
The text was updated successfully, but these errors were encountered: