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

Attribute parser bug #8

Open
ghost opened this issue Jul 15, 2020 · 1 comment
Open

Attribute parser bug #8

ghost opened this issue Jul 15, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 15, 2020

Hi,

Having the following code:

{{#each empresas}}
	<li data-id_empresa="{{id}}" data-nombre="{{nombre_attr}}">
		<a href="#" class="item-content">Test</a>
	</li>
{{/each}}

When nombre_attr contains whitespace (ex: 'Test 16:55:04'), it returns the error:

Uncaught (in promise) Error: InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '16:55:04' is not a valid attribute name. at eval (webpack:///./node_modules/framework7/modules/router/component-loader.js?:50)

It's working fine on 2.1.1

Best regards,
JC

@monokaijs
Copy link

Same issue here...

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