microsoft / microsoft/vscode-html-languageservice

Extra indents being added for format selection with contentUnformatted tag

Open
#29 2 comments 0 reactions 1 assignee View on GitHub

@aeschli is already working on this.

Since Jul 9, 2018.

bug
Dominant language
TypeScript
Stars
284
Forks
138
Avg merge
19h 11m
Merged PRs (30d)
5

Description

1 .Create a html document:


    <pre>
        stuff
    </pre>

  1. Select from the start of the second line to the end of the file
  2. Run format selection

Bug
Document becomes:


    <pre>
            stuff
        </pre>

If you continue running the command, more indents are added

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.