confiscateAttr ( $attr, 'background' ); // some validation should happen here $this->prependCSS ( $attr, "background-image:url($background);" ); return $attr; } } // vim: et sw=4 sts=4