Skip to content

Angular: markdown nested statements having strange behavior with curly braces #161

@JoaoVictorVP

Description

@JoaoVictorVP

Describe the bug
It's doing something weird with the curly braces.

dprint-plugin-markdown version: 0.20.0

Input Code

    @if(true) {
      <div>okay</div>
      @if(true) {
        <div>still okay</div>
      }
    }

Expected Output

    @if(true) {
      <div>okay</div>
      @if(true) {
        <div>still okay</div>
      }
    }

Actual Output

    @if(true) {
    <div>okay</div>
    @if(true) {
    <div>still okay</div>
    } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions