Some scenes need to have double quotes and single quotes at the same time
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
- [x] 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
Would you like to work on this?
Maybe i can have a try,i will upload to you,you can accept it or modify, its up to you.
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.
Hello, I don't know why this library is introduced into the Vue project. With this API, the project will not run. They say we can't find the third party. Can you help me? Thank you very much.