Auto Indenting Issue in JavaScript mode with Multi-Line Template Literals?

This seemed like a bug to me but the issue was closed immediately. Sorry if I did something wrong.

JavaScript supports multiline template literals but CodeMirror’s JavaScript mode seem to be unaware? Trying to enter some code like this

const s = `
{
    {
        {
            {
`;

CodeMirror deletes the spaces when I type a {

example

Is that not considered a bug?

(The bug was closed by a patch that fixed the issue.)

Sorry I’m dumb. Thank you for being patient with me :sweat_smile: