cleaning up the rest of the extra head tags

This commit is contained in:
Doug Bell 2008-12-03 04:07:48 +00:00
parent 99f035173d
commit 0bbae2fe41
2 changed files with 2 additions and 6 deletions

View file

@ -2135,8 +2135,7 @@ sub processTemplate {
=head2 processStyle ( html ) =head2 processStyle ( html )
Returns some HTML wrappered in a style. Should be overridden by subclasses, because 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 this one actually doesn't do anything other than return the html back to you
adds the Asset's extraHeadTags into the raw head tags.
=head3 html =head3 html
@ -2146,7 +2145,6 @@ The content to wrap up.
sub processStyle { sub processStyle {
my ($self, $output) = @_; my ($self, $output) = @_;
$self->session->style->setRawHeadTags($self->getExtraHeadTags);
return $output; return $output;
} }

View file

@ -370,8 +370,7 @@ sub processPropertiesFromFormPost {
=head2 processStyle ( output ) =head2 processStyle ( output )
Returns output parsed under the current style. Sets the Asset's extra head tags Returns output parsed under the current style.
into the raw head tags, too.
=head3 output =head3 output
@ -382,7 +381,6 @@ An HTML blob to be parsed into the current style.
sub processStyle { sub processStyle {
my $self = shift; my $self = shift;
my $output = shift; my $output = shift;
$self->session->style->setRawHeadTags($self->getExtraHeadTags);
return $self->session->style->process($output,$self->get("styleTemplateId")); return $self->session->style->process($output,$self->get("styleTemplateId"));
} }