fixed [ 1470275 ] 6.99: HTML output before DOCTYPE
This commit is contained in:
parent
b200dca0f3
commit
3e52133431
1 changed files with 2 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ sub generateAdditionalHeadTags {
|
|||
delete $self->{_raw};
|
||||
delete $self->{_javascript};
|
||||
delete $self->{_link};
|
||||
WebGUI::Macro::process($self->session,\$tags);
|
||||
return $tags;
|
||||
}
|
||||
|
||||
|
|
@ -148,7 +149,6 @@ The unique identifier for the template to retrieve.
|
|||
|
||||
sub process {
|
||||
my $self = shift;
|
||||
$self->sent(1);
|
||||
my %var;
|
||||
$var{'body.content'} = shift;
|
||||
my $templateId = shift;
|
||||
|
|
@ -197,6 +197,7 @@ if ($self->session->user->isInGroup(2)) {
|
|||
$output = "WebGUI was unable to instantiate your style template.".$var{'body.content'};
|
||||
}
|
||||
WebGUI::Macro::process($self->session,\$output);
|
||||
$self->sent(1);
|
||||
my $macroHeadTags = $self->generateAdditionalHeadTags();
|
||||
$output =~ s/\<\!--morehead--\>/$macroHeadTags/;
|
||||
return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue