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

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

java - How to handle special characters while unmarshalling xml in JAXB -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -