webstorm - Why doesn't pug take this script tag as closed? -


i'm trying "translate" html file pug, , have this:

extends layout    block content       script.           system.import('main.js').catch(function (err) {               console.error(err);           }); 

the thing is, if press enter @ end of file, instead of taking script tag closed , taking me previous indent level, webstorm acting if i'm still writing code inside script tag.

how can force close tag, or doing wrong?


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -