sindresorhus/refined-github

Backtick parsing is not bulletproof, ` | ` example #2483

stdedos posted onGitHub

<!-- Thanks for reporting a bug! â›° 1. Make sure the bug is caused by Refined GitHub. Try disabling the extension first. 2. Include a full URL where the bug appears. 3. Include a screenshot/gif Issues without a URL/screenshot will be closed -->

https://github.com/stdedos/robotframework-debuglibrary/issues/3 image

Visually, it appears as if I wrote:

` |  `as

whereas I wrote:

` | ` as

maybe we should add white-space: pre?

posted by tanmayrajani over 5 years ago

Test | test

posted by fregante over 5 years ago

It looks like GitHub parses that as a plain:

Test `|` test

Instead of

Test ` | ` test

So instead of complicating things, we should just match GitHub's parser and just trim the content of the backticks.

posted by fregante over 5 years ago

It seems you are right:

Test `|` test

Test | test

Test ` | ` test

Test | test image

posted by stdedos over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests