diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 84ee30f2f..6b3d45cbb 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -2135,8 +2135,7 @@ sub processTemplate { =head2 processStyle ( html ) Returns some HTML wrappered in a style. Should be overridden by subclasses, because -this one actually doesn't do anything other than return the html back to you and -adds the Asset's extraHeadTags into the raw head tags. +this one actually doesn't do anything other than return the html back to you =head3 html @@ -2146,7 +2145,6 @@ The content to wrap up. sub processStyle { my ($self, $output) = @_; - $self->session->style->setRawHeadTags($self->getExtraHeadTags); return $output; } diff --git a/lib/WebGUI/Asset/Wobject.pm b/lib/WebGUI/Asset/Wobject.pm index 56fb93a64..7a541a114 100644 --- a/lib/WebGUI/Asset/Wobject.pm +++ b/lib/WebGUI/Asset/Wobject.pm @@ -370,8 +370,7 @@ sub processPropertiesFromFormPost { =head2 processStyle ( output ) -Returns output parsed under the current style. Sets the Asset's extra head tags -into the raw head tags, too. +Returns output parsed under the current style. =head3 output @@ -382,7 +381,6 @@ An HTML blob to be parsed into the current style. sub processStyle { my $self = shift; my $output = shift; - $self->session->style->setRawHeadTags($self->getExtraHeadTags); return $self->session->style->process($output,$self->get("styleTemplateId")); }