subtleGradient/language-javascript-jsx

Curly brackets within string tags formatted as non-strings

Opened this issue · 0 comments

Within a component, writing a property which contains curly braces inside a string produces formatting that does not suggest that the string will come out like it does.

image

The code <input id='CardNumber' pattern='[0-9]{13,16}' /> is valid syntax and is compiled naturally by Babel. As such, I think the formatting should reflect this.