Strip <HTML>,<BODY> and similar from the beginning
| From: | Victor | Date: | Mon, 12 Mar 2001 15:37:52 +0000 |
| Subject: | Strip <HTML>,<BODY> and similar from the beginning | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-371@lists.php.net to get a copy of this message | ||
I'm using a WYSIWYG-app (dreamweaver) to design my template files. I'm also using a main
template that's using {include} to include all subpages.
But to make it easier for editing the subpages in dreamweaver, I must have a <BODY> tag as
well as <LINK rel=..> tag for the style sheet. Well, it looks better that way. So when I
include the file with smarty, those lines are put in the middle of the rendered HTML-output which is
Very Bad<tm>.
Is there any way I can filter out these lines (2 lines on every subpage)? If it was possible,
I'd like it to be standard in smarty, but I can do with a small hack or similar. Well, all
feedback is welcome.
tia,
Victor