Skip to content

Conversation

@N1ebieski
Copy link
Contributor

@N1ebieski N1ebieski commented Apr 11, 2025

Fixes laravel/vs-code-extension#364

Stillat\BladeParser\Document\Document::fromText treats multibyte characters as indentations and spaces resulting in a miscalculated Node position.

This PR adds a function that replaces the multibyte characters with a single, placeholder character.

@joetannenbaum
Copy link
Collaborator

Nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Links in blade views are misplaced after multibyte characters.

2 participants