Autocomplete div element

In atom when I start typing div and hit “enter” it autocompletes as well as autocloses the tag like so:

     <div class"">


How do I change it so when I autocomplete a div tag it doesn’t autoclose on a separate line but appears on the same line like so:

     <div class""></div>

I’m sure it’s a simple fix but I’m fairly new to this, so any help is appreciated.

That’s a snippet:

And it comes from the language-html package, you can see them here:

You can create your own snippet with the same name if you’d like to override the behavior e.g.:

  'my div':
    'prefix': 'div'
    'body': '<div class="$1">$2</div>'

Or you could create one with a different name.