From 96b9d512c3e037ded1b076e18fc4b6821e3485a5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 25 Feb 2010 20:57:39 +0000 Subject: - Patch #228818 by effulgentsia, JonathanRoberts: IE stylesheets ignored after 31 link/style tags. --- modules/system/system.module | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/system') diff --git a/modules/system/system.module b/modules/system/system.module index 56c63f198..5536cc757 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -311,12 +311,18 @@ function system_element_info() { $types['ajax_commands'] = array( '#ajax_commands' => array(), ); - $types['html_tag'] = array( '#theme' => 'html_tag', + '#pre_render' => array('drupal_pre_render_conditional_comments'), '#attributes' => array(), '#value' => NULL, ); + $types['styles'] = array( + '#items' => array(), + '#pre_render' => array('drupal_pre_render_styles'), + '#group_callback' => 'drupal_group_css', + '#aggregate_callback' => 'drupal_aggregate_css', + ); // Input elements. $types['submit'] = array( -- cgit v1.2.3