Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<foo>'s <bar> is a sentance that doesn't render correctly #1514

Open
ge0ffrey opened this issue Oct 15, 2015 · 1 comment
Open

<foo>'s <bar> is a sentance that doesn't render correctly #1514

ge0ffrey opened this issue Oct 15, 2015 · 1 comment
Milestone

Comments

@ge0ffrey
Copy link

@ge0ffrey ge0ffrey commented Oct 15, 2015

Try this line:

   `<foo>`'s `<bar>` is a sentance that doesn't render correctly

The code style spans from foo to bar, instead of rendering 2 separate code style spans.

@mojavelinux
Copy link
Member

@mojavelinux mojavelinux commented Oct 15, 2015

The only way to fix this right now is to double up the backticks on the first instance (because of the trailing single quote).

``<foo>``'s `<bar>`

It's close to impossible to fix this until we switch to an inline parser. There's just no way the current regex-based parsing can detect these scenarios without lots and lots of passes over the text. We basically have tricks in place to handle the most blatant situations, but that's really just to tide us over until we can parse in a more intelligent way. Hence the relationship to #61.

@mojavelinux mojavelinux added this to the v2.0.0 milestone Oct 15, 2015
@mojavelinux mojavelinux removed this from the v2.0.0 milestone Mar 13, 2019
@mojavelinux mojavelinux added this to the M1 milestone Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants