Skip to content

Improve multi-byte character handling#842

Merged
NullVoxPopuli merged 6 commits intomainfrom
nvp/fix-multi-byte-handling
Mar 26, 2025
Merged

Improve multi-byte character handling#842
NullVoxPopuli merged 6 commits intomainfrom
nvp/fix-multi-byte-handling

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

@mogstad
Copy link
Copy Markdown
Contributor

mogstad commented Mar 25, 2025

In parallel I started looking at this, and I think I found the issue of the multi-byte issue: https://github.com/typed-ember/glint/compare/main...mogstad:push-zuqwnylqqlpt?expand=0

@NullVoxPopuli
Copy link
Copy Markdown
Contributor Author

excellent! let's see a PR! <3

mogstad and others added 3 commits March 26, 2025 10:26
Previously it was genrating the offset from the original source, but as
the transformed code is different, the offseted character wasn't offset
at the right spot
Template tags are converted into template literals, we need to ensure
static content doesn't behave like a template literal, this means
escaping backticks and dollar signs.
Escape and transform template string
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review March 26, 2025 12:19
@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Mar 26, 2025
@NullVoxPopuli NullVoxPopuli merged commit bcb241e into main Mar 26, 2025
6 checks passed
@NullVoxPopuli NullVoxPopuli deleted the nvp/fix-multi-byte-handling branch March 26, 2025 12:21
@github-actions github-actions Bot mentioned this pull request Mar 26, 2025
@machty
Copy link
Copy Markdown
Contributor

machty commented Mar 31, 2025

@NullVoxPopuli did this PR fix the issues referenced?

@NullVoxPopuli
Copy link
Copy Markdown
Contributor Author

It fixed one of them -- the ${{}} issue is still present

NullVoxPopuli added a commit that referenced this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants