Fix JSX fragment autoclose tag logic #7

Merged
sergeichestakov merged 1 commit from fix-fragment-autoclose into main 2023-01-31 09:23:42 +01:00
sergeichestakov commented 2023-01-31 08:03:28 +01:00 (Migrated from github.com)

Looks like we're using the wrong close tag for JSX fragments in the autoclose extension as it should be </> instead of <> (see docs).

Seems I just missed this when I first implemented this extension in https://github.com/codemirror/lang-javascript/pull/4.

Looks like we're using the wrong close tag for JSX fragments in the autoclose extension as it should be `</>` instead of `<>` (see [docs](https://reactjs.org/docs/fragments.html#short-syntax)). Seems I just missed this when I first implemented this extension in https://github.com/codemirror/lang-javascript/pull/4.
sergeichestakov commented 2023-01-31 22:38:12 +01:00 (Migrated from github.com)

thanks @marijnh! any idea when this might get published?

thanks @marijnh! any idea when this might get published?
marijnh commented 2023-02-02 10:16:52 +01:00 (Migrated from github.com)

Tagged 6.1.3

Tagged 6.1.3
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/lang-javascript!7
No description provided.