You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we pass an array of modifer like bem(base_element, ['mod1', 'mod2', ''])
returns base_element--mod1 base_element--mod2 base_element--
where last part is undesirable, since inside twig some variable may be empty. So there should be some check for if the value is there or it is empty.
The text was updated successfully, but these errors were encountered:
bem-twig-extension/bem.function.php
Line 19 in c772316
If we pass an array of modifer like
bem(base_element, ['mod1', 'mod2', ''])
returns
base_element--mod1 base_element--mod2 base_element--
where last part is undesirable, since inside twig some variable may be empty. So there should be some check for if the value is there or it is empty.
The text was updated successfully, but these errors were encountered: