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

Some scenes need to have double quotes and single quotes at the same time #116

Open
1 of 5 tasks
1057891494 opened this issue Aug 26, 2019 · 4 comments
Open
1 of 5 tasks
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@1057891494
Copy link

1057891494 commented Aug 26, 2019

Before you submit an issue we recommend you drop into the Gitter community and ask any questions you have or mention any problems you've had getting started with prettyhtml.

🐛 Bug Report

Some scenes need double quotes and single quotes existing at the same time

To Reproduce

I have this code in the vue template:

<input v-input-check='[params.qrptfg,"select"]' @blur="toLogin('NO')" />

When I use formatting, the code becomes

<input v-input-check="[params.qrptfg,"select"]" @blur="toLogin('NO')" />

Expected behavior

I want the code to be like this

<input v-input-check='[params.qrptfg,"select"]' @blur="toLogin('NO')" />

I want to know whether you can provide a third option, which won't change the quotes.

Context

  • Angular
  • Svelte
  • Vue
  • Riot
  • HTML5 only

Your Environment

  • Prettyhtml version:1.9.0
  • NodeJs version:10.8.0
  • Environment name and version:vscode 1.37.1
  • Operating System and version:windows10
@StarpTech
Copy link
Member

Would you like to work on this?

@1057891494
Copy link
Author

Maybe i can have a try,i will upload to you,you can accept it or modify, its up to you.

@stale
Copy link

stale bot commented Sep 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Sep 11, 2019
@StarpTech StarpTech added bug Something isn't working good first issue Good for newcomers and removed wontfix This will not be worked on labels Sep 11, 2019
@y912765390

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants