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

Backtick acts as grave accent over following character #95

Open
rben01 opened this issue Sep 22, 2022 · 3 comments
Open

Backtick acts as grave accent over following character #95

rben01 opened this issue Sep 22, 2022 · 3 comments

Comments

@rben01
Copy link

rben01 commented Sep 22, 2022

Is it intended/expected behavior that the backtick character (`, Html `) is a combining grave accent over the subsequent character instead of just a standalone backtick character?

Html:

<html>

<head>
  <style>
    @import url("https://fonts.googleapis.com/css2?family=Overpass&family=Overpass+Mono&display=swap");

    .overpass {
      font-family: "Overpass", serif;
    }

    .overpass-mono {
      font-family: "Overpass Mono", serif;
    }
  </style>
</head>

<body>
  <span class="overpass">&#96;Overpass&#96;</span>
  <br>
  <span class="overpass-mono">&#96;Overpass Mono&#96;</span>
</body>

</html>

Result:
image

I would expect Overpass to keep the backtick separate, as its own character, as Overpass Mono does.

@xonx4l
Copy link

xonx4l commented Aug 31, 2023

It seems like you're encountering a problem related to the font rendering behavior of "Overpass" in your specific context. The issue appears to be with the font itself rather than the HTML/CSS code you've shared.

@rben01
Copy link
Author

rben01 commented Sep 9, 2023

@xonx4l Yes, the HTML was just to have something reproducible

@advancingu
Copy link

On a similar note, having three successive backtick characters ``` visually renders as a single backtick. This is very confusing when trying to render Markdown code where triple backticks are used to denote the start of a code block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants