Remove the headblock property from the Template Asset, and merge

it into extra head tags.  Style templates are not allowed to
have extra head tags.
This commit is contained in:
Colin Kuskie 2008-11-26 21:24:44 +00:00
parent d3f8a075a7
commit 2b3b3fd458
7 changed files with 108 additions and 46 deletions

View file

@ -370,7 +370,8 @@ sub processPropertiesFromFormPost {
=head2 processStyle ( output )
Returns output parsed under the current style.
Returns output parsed under the current style. Sets the Asset's extra head tags
into the raw head tags, too.
=head3 output
@ -381,6 +382,7 @@ 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"));
}