Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Plugin handles beginning with 'u' can't display custom element types #2826

Closed
lukeyouell opened this issue Apr 30, 2018 · 0 comments
Closed

Comments

@lukeyouell
Copy link

Description

Weird one. I've found that setting elementType in the templates causes a JS syntax error if the plugin handle begins with the letter u.

The following error is shown:

SyntaxError: malformed Unicode character escape sequence

It looks like this is because \u represents a unicode character.

Additional info

  • Craft version: 3.0.4
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant