GNU gettext - Bugs: bug #58407, JavaScript parser stops at...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58407: JavaScript parser stops at template literal inside JSX tag
Submitter: | whiteinge | ||
Submitted: | Wed 20 May 2020 02:06:00 AM UTC | ||
Category: | JavaScript | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-05-20 | whiteinge | Attached File | - | ![]() |
Added template-literal-jsx-repro1.js, #49127 |
Attached File | - | ![]() |
Added template-literal-jsx-repro2.js, #49128 |
Similar to bug #50920, the file parser stops when it encounters a JavaScript template literal inside of a JSX tag.
As a child of a tag:
As an attribute inside a tag:
Tested on 0.20.2.
Tested using: xgettext -o - template-literal-jsx-repro1.js
Expected output:
Actual output: