-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor: Fix escaping issues with POT generator #80058
Editor: Fix escaping issues with POT generator #80058
Conversation
058c468
to
8f0066f
Compare
8f0066f
to
aac4a36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Escaping file paths looks unnecessary. But yeah, newlines in a path seem not forbidden :P
I just added protection in case the string had newlines for some reason. Because the comment ends on a newline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sensible, good job!
Thanks! |
String
with\"
is used #80004.Note: I'm not familiar with
gettext
, please test this if you are.Before:
After: