akalongman / akalongman/sublimetext-codeformatter

<script> tag in HTML whacky formatting

Đang mở
#137 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug html
Ngôn ngữ chính
Python
Star
772
Fork
128
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I have an html file with a tag:

<script>
Polymer({
getMapOptions: function() {
var mapOptions = this.super();
mapOptions["streetViewControl"] = false;
return mapOptions;
}
});

Every time I format the file, everything inside the script tag gets pushed to the right 2 spaces. It does not actually format, it just adds 2 spaces.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.