In previous versions of views, CSS classes were converted to lowercase. Line 142 of views_plugin_style.inc used to call drupal_html_class which has the following line in it:

$classes[$class] = drupal_clean_css_identifier(drupal_strtolower($class));

Now that the views module is calling drupal_clean_css_identifier directly, identifiers are making it through with capitalization, which breaks existing CSS code. The code should instead read:

$class = drupal_clean_css_identifier(strtolower($class));

This avoids unintended breakage.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR’s picture

Status: Active » Needs review

There's a patch, so this should be "Needs review"

Status: Needs review » Needs work

The last submitted patch, views_class_render_fix.patch, failed testing. View results