Skip to content

v6.4.3

Compare
Choose a tag to compare
@miripiruni miripiruni released this 20 May 10:23
· 485 commits to master since this release

bem-xjst should not render attrs if it’s not hash. Strings, arrays, and etc.
Example:

// BEMJSON:
{ block: 'b', attrs: [ 1, 2 ] }

Result before fix (v6.4.2):

<div class="b" 0="1" 1="2"></div>

Result after fix (v6.4.3):

<div class="b"></div>