We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prettyHtml format error: Void elements do not have end tags "image"
The text was updated successfully, but these errors were encountered:
"minapp-vscode.wxmlFormatter": "prettyHtml", "minapp-vscode.prettyHtml": { "useTabs": false, "tabWidth": 2, "printWidth": 100, "singleQuote": false, "usePrettier": true, "wrapAttributes": false, "sortAttributes": false }
Sorry, something went wrong.
wxml 内容
<view class='container'> <view class='test'> <image></image> </view> </view>
如果用这个配置的话 又会莫名其妙在html后面加一个分号
"minapp-vscode.wxmlFormatter": "prettier", "minapp-vscode.prettier": { "parser": "html" },
最合理的还是针对wxml做一个prettier-wxml插件,prettyHtml和prettier都是针对标准HTML做处理的,wxml和标准HTML有不少差别
No branches or pull requests
The text was updated successfully, but these errors were encountered: