akalongman / akalongman/sublimetext-codeformatter

<script> tag in HTML whacky formatting

Open
#137 2 comments 0 reactions 0 assignees View on GitHub
bug html
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.