gurusabarish / hugo-profile

A highly customizable and mobile first Hugo template for personal portfolio and blog.

Home Page:https://hugo-profile.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If '.' is in Company Name, UI can't transition to Company tab

delize opened this issue · comments

Describe the bug
When adding a . to a company name in the experience section, such as Corp., the UX / UI elements no longer transition to that "tab".

What I believe is occurring, is that there is some escaping of characters being done in the HTML when doing a performance insight test through Chrome:

#NAME-Corp\.-June-2011---August-2012-tab
pierce/#NAME-Corp\.-June-2011---August-2012-tab

Compared to a name that does not have a . in it:

#NAME--June-2011---August-2012-tab

To Reproduce
Steps to reproduce the behavior:

  1. Go to config.yaml
  2. Edit the content so that the content is unique across at least 3 jobs
  3. Add a . in at least one of the company names
  4. Hugo serve
  5. Watch UX / UI break

Expected behavior
UI and UX should continue to function as normal when any character that would appear in a company could be used.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: Latest version available as of December 26th 2023

Additional context
Add any other context about the problem here.

This also affects companies with () in the name

This also affects companies with ' in the name