You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is live recording of an editor which triggers prettier on each save.
As you can see there, every time I save a file one backslash is disappearing after another.
I also want to mention, that:
will cause to \ to disappear on formatting:
h2 ID \#{{ id }}
will not cause \ to disappear:
h2 \#{{ id }}
So, the problem is somehow linked to the text which precedes \.
@prettier/plugin-pug
version: 1.1.2This is live recording of an editor which triggers prettier on each save.
As you can see there, every time I save a file one backslash is disappearing after another.
I also want to mention, that:
will cause to
\
to disappear on formatting:will not cause
\
to disappear:So, the problem is somehow linked to the text which precedes
\
.Escaping is described here: https://pugjs.org/language/interpolation.html#string-interpolation-escaped
The text was updated successfully, but these errors were encountered: