Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
CSS
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
12 Mar 2013 at 20:32 UTC
Updated:
29 Jul 2014 at 22:01 UTC
The D8 CSS coding standards utilize underscores in CSS class names to designate sub-component classes. Underscores are replaced with hyphens when run through drupal_clean_css_identifier.
Remove "_" from the default filter array parameter on drupal_clean_css_identifier.
Needs patch.
N/A
This could potentially affect modules that rely on CSS class names being converted from underscores to hyphens, which could break styling.
Comments
Comment #1
pixelwhip commentedtagging
Comment #2
johnalbinDuplicate of #1109854: Overly aggressive transliteration in drupal_clean_css_identifier removes underscores from classes
Comment #2.0
johnalbinFixed typo.