С сегодняшнего дня VSCode с установленным расширением Prettier форматирует мой HTML очень странным образом.Например:
<button
class="btn btn-secondary mr-2"
(click)="updateEditState(EditState.preview)"
*ngIf="!(preview | async)"
>
<ng-container i18n="AppPreviewEditButton|Enables the Preview mode of the page@@AppPreviewButton"
>Preview</ng-container
>
</button>
<button class="btn btn-secondary mr-2" (click)="updateEditState(EditState.edit)" *ngIf="!(edit | async)">
<ng-container i18n="AppPreviewEditButton|Enables the Edit mode of the page@@AppEditButton"
>Edit</ng-container
>
</button>
Обратите внимание на >
в новых строках.Кто-то еще испытывал то же самое и имеет решение?