panr / hugo-theme-hello-friend

Pretty basic theme for Hugo that covers all of the essentials. All you have to do is start typing!
https://github.com/panr/hugo-theme-hello-friend/
MIT License
1.06k stars 1.22k forks source link

Code within single backticks getting converted to upper-case #251

Closed iDuronto closed 2 years ago

iDuronto commented 2 years ago

Hi, first of all thanks for this great theme. Just a small issue, it looks like anything declared between triple backticks are rendered correctly (issue #3). But, anything declared between single backticks are converted to uppercase.

iDuronto commented 2 years ago

Okay, I just validated this, and looks like this issue is persistent on Linux (both Chrome and Firefox) only! For android mobile browsers, everything renders correctly, On Windows systems too it renders correctly.

iDuronto commented 2 years ago

Any clue whats going on @panr? :)

smantic commented 2 years ago

no idea what the problem is, I was able to resolve by adding

code { 
    font-feature-settings: initial;
}

to static/style.css

panr commented 2 years ago

Oh, now I see, that I in fact did the fix, but only for code blocks 🤦 https://github.com/panr/hugo-theme-hello-friend/commit/a9a3e1a8f4917ee98142bff908a7bca888f0081f

Thanks for the hint, I will fix it right away ;-)