diff options
-rw-r--r-- | classes/Design.php | 2 | ||||
-rw-r--r-- | plugins/Recaptcha/RecaptchaPlugin.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/Design.php b/classes/Design.php index 89ae50c8c..4e7d7dfb2 100644 --- a/classes/Design.php +++ b/classes/Design.php @@ -101,7 +101,7 @@ class Design extends Memcached_DataObject } if (0 != mb_strlen($css)) { - $out->element('style', array('type' => 'text/css'), $css); + $out->style($css); } } diff --git a/plugins/Recaptcha/RecaptchaPlugin.php b/plugins/Recaptcha/RecaptchaPlugin.php index 1a51b16be..3a510ef11 100644 --- a/plugins/Recaptcha/RecaptchaPlugin.php +++ b/plugins/Recaptcha/RecaptchaPlugin.php @@ -69,7 +69,7 @@ class RecaptchaPlugin extends Plugin $action->startXML('html'); - $action->raw('<style type="text/css">#recaptcha_area{float:left;}</style>'); + $action->style('#recaptcha_area{float:left;}'); return false; } |