Ray
This one behaves according to the VS Code HTML formatter settings.
You can configure it with html.format.wrapAttributes in settings.json
auto: Wrap when the line length is exceeded
force: Wrap all attributes, except first
force-aligned: Wrap all attributes, except the first, and align attributes
force-expand-multiline: Wrap all attributes
aligned-multiple: Wrap when line length is exceeded, align attributes vertically
preserve: Preserve wrapping of attributes
preserve-aligned: Preserve wrapping of attributes but align
So preserve or preserve-aligned should do the trick.
You can find the list of all settings at https://code.visualstudio.com/docs/languages/html#_formatting