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

Nested mixes work wrong with strings #552

Open
tadatuta opened this issue Jul 9, 2019 · 1 comment
Open

Nested mixes work wrong with strings #552

tadatuta opened this issue Jul 9, 2019 · 1 comment

Comments

@tadatuta
Copy link
Member

tadatuta commented Jul 9, 2019

BEMJSON:

{
    block: 'b1',
    mix: 'b2'
}

BEMHTML:

block('b2')(
    addMods()('b3')
);

Result:

<div class="b1 b2 2 b"></div>

Expected:

<div class="b1 b2 b3"></div>

http://bem.github.io/bem-xjst/?version=8.9.1&engine=BEMHTML&template=block(%27b2%27)(%0A%20%20%20%20addMods()(%27b3%27)%0A)%3B&bemjson=%7B%0A%20%20%20%20block%3A%20%27b1%27%2C%0A%20%20%20%20mix%3A%20%27b2%27%0A%7D

@tadatuta
Copy link
Member Author

tadatuta commented Jul 9, 2019

Related fix in https://github.com/bem/bem-xjst/pull/551/files

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