I noticed that the 'clearfix' class of the article tag is "hardcoded" into the node template. Wouldn't it be better to just add that programmatically instead so it can be cleanly removed?

I want the "clearfix" class removed in the article tag. Currently, I have to copy the template just to remove the clearfix class instead of unsetting it in the array of classes.


JohnAlbin’s picture

Version: 7.x-5.0 » 7.x-5.x-dev
Issue summary: View changes
JohnAlbin’s picture

Version: 7.x-5.x-dev » 8.x-7.x-dev
Status: Active » Closed (fixed)

This is fixed in Drupal 8.