I have some code in visual studio that looks like this:

if I place my cursor at the end of the div with class "row" and press enter, that whole div loses its indentation and goes to start like this:
It has been driving me mad because I can't figure out what does it nor how to stop it. I have visual studio 2022 and I also have Resharper installed.
I'm fairly confident it has something to do with resharper, I just can't figure out what. If I disable resharper then this problem goes away. Resharper is updated to latest version.
