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

Remove non-ascii characters from scss files #870

Merged
merged 1 commit into from
Aug 22, 2019
Merged

Remove non-ascii characters from scss files #870

merged 1 commit into from
Aug 22, 2019

Conversation

shreve
Copy link
Contributor

@shreve shreve commented Aug 22, 2019

Replace em dashes with hyphens so these files are ascii characters only. These files have been producing an error in my jekyll site way downstream.

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/style.scss':
                  Invalid US-ASCII character "\xE2" on line 5

I traced the issue to the jekyll-primer-theme gem, and was told there that I should make this fix upstream, here.

This can be fixed by setting LANG=en_US.UTF-8 in the terminal environment, but removing this unnecessary utf8 will more widely fix the problem.

/cc @primer/ds-core

@vercel
Copy link

vercel bot commented Aug 22, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://primer-css-git-fork-shreve-master.primer.now.sh

Copy link
Contributor

@shawnbot shawnbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, @shreve! I'll include this in our next patch release. ❤️

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

Successfully merging this pull request may close these issues.

2 participants