Skip to content
New issue

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

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

Already on GitHub? Sign in 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
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

No branches or pull requests

1 participant