Skip to content

fix(migrations): cf migration - preserve indentation on attribute strings#53625

Closed
jessicajaniuk wants to merge 1 commit intoangular:mainfrom
jessicajaniuk:attribute-formatting
Closed

fix(migrations): cf migration - preserve indentation on attribute strings#53625
jessicajaniuk wants to merge 1 commit intoangular:mainfrom
jessicajaniuk:attribute-formatting

Conversation

@jessicajaniuk
Copy link
Copy Markdown
Contributor

During formatting, attribute indentation is changed, and that can affect internationalized strings. This fix detects if an attribute value string is left open and skips formatting on those lines.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • Yes
  • No

@jessicajaniuk jessicajaniuk added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release area: migrations Issues related to `ng update`/`ng generate` migrations labels Dec 18, 2023
@ngbot ngbot bot modified the milestone: Backlog Dec 18, 2023
…ings

During formatting, attribute indentation is changed, and that can affect internationalized strings. This fix detects if an attribute value string is left open and skips formatting on those lines.
@jessicajaniuk jessicajaniuk added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 18, 2023
@jessicajaniuk
Copy link
Copy Markdown
Contributor Author

This PR was merged into the repository by commit 8bf7525.

jessicajaniuk pushed a commit that referenced this pull request Dec 18, 2023
…ings (#53625)

During formatting, attribute indentation is changed, and that can affect internationalized strings. This fix detects if an attribute value string is left open and skips formatting on those lines.

PR Close #53625
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 18, 2024
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…ings (angular#53625)

During formatting, attribute indentation is changed, and that can affect internationalized strings. This fix detects if an attribute value string is left open and skips formatting on those lines.

PR Close angular#53625
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
…ings (angular#53625)

During formatting, attribute indentation is changed, and that can affect internationalized strings. This fix detects if an attribute value string is left open and skips formatting on those lines.

PR Close angular#53625
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
…ings (angular#53625)

During formatting, attribute indentation is changed, and that can affect internationalized strings. This fix detects if an attribute value string is left open and skips formatting on those lines.

PR Close angular#53625
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: migrations Issues related to `ng update`/`ng generate` migrations target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants