Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Added support for single quotes in css. #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tralves
Copy link

@tralves tralves commented Nov 14, 2018

Fixes #20.

Currently, the plugin doesn't support single quotes on CSS. This means that this doesn't work:

.fa-heart:before {
    content: '\f004';
}

This PR changes the cleanValue regex to support both " and '.

I added/changed tests and changed the demo app, so I know it works.

Thanks!

PS: The real reason why I made this PR is because I couldn't get prettier/eslint/vscode to stop converting " to ' in my CSS file 😎...

@brendtumi
Copy link
Contributor

Hi @NathanWalker , any reason for not merging this PR ?

@devlinpadayachee
Copy link

looks like he has given up on this lib

@NathanWalker
Copy link
Owner

@devlinpadayachee hi - if this fixes a current issue for you just ping back and perhaps we can bring this lib under scope so it’s more visible and tended to.
Cc @brendtumi @tralves

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

Successfully merging this pull request may close these issues.

Doesn't work with single quotes on CSS
4 participants