Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

backslashes to enable multi-line string literals get exported #34

Open
Colengms opened this issue May 10, 2021 · 2 comments
Open

backslashes to enable multi-line string literals get exported #34

Colengms opened this issue May 10, 2021 · 2 comments
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@Colengms
Copy link

A call to localize() such as the following:

localize('example', 'example \
example \
example')

... results in the backslashes being included in the exported string. However, these backslashes are intended to allow the literal to be multi-line, and are not intended to be part of the string.

@dbaeumer dbaeumer added the bug Issue identified by VS Code Team member as probable bug label May 11, 2021
@TylerLeonhardt
Copy link
Member

@Colengms have you tried using backticks instead of single quotes which should support multi-line strings?

@TylerLeonhardt
Copy link
Member

Oh nevermind... #5

@TylerLeonhardt TylerLeonhardt added this to the Backlog milestone May 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

3 participants