Problem/Motivation
Looking at the lines below https://git.drupalcode.org/issue/fences-3464644/-/blob/3464644-add-a-mul...
I'm wondering why we're exploding (explode()) the classes for some of the cases and not for all cases. Perhaps I'm overlooking something.
Exploding css classes by space is correct and the standard, so why aren't we doing this for all classes?
The tests that we added in #3464644: Add a multiple classes test are green, so this doesn't seem to cause issues, but maybe the classes are still not being added separately but as string containing spaces?
We need to debug this in code, I guess by kint()'ing the attributes in the twig file so we have the real result.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork fences-3464653
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
anybodyComment #3
anybodyComment #5
grevil commentedYea, that part also doesn't make much sense, as we already received the classes anyway. We basically add them again.
Comment #7
anybodyYeah looks totally correct, additionally I think we need to also explode in
https://git.drupalcode.org/issue/fences-3464644/-/blob/3464644-add-a-mul...
Then we should have them all?
Comment #8
grevil commentedAll done, please review! I did it in the Web-IDE, but don't think there are any errors.
Comment #9
anybodyGreat, tests are green and looks good to me!
Comment #11
anybody