Strangeness in template parsing

Lars <[email protected]> Fri, 11 Apr 2003 19:31:23 +1000
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
Hey all!

Just found a little quirk that doesn't look too good, and I hope it's not a 
"feature" meant to stay. I have the following in my queryblock.tpl:
<!-- queryblock.tpl begin-->
         <!-- BEGIN each_query -->
         <li type="square"><a 
href="{ROOTDIR}/article.php?story_id={STORY_ID}">{TITLE}</a><br>
         <!-- END each_query -->
<!-- queryblock.tpl end-->

This works fine, but returns the code: 
http://www.pda-nytt.no/article.php?story_id=884&section=8 - which looks 
terrible compared to what I believe it *should* look like: 
http://www.pda-nytt.no/article.php?story_id=884 which is what the rest of 
my site looks like.

Anyone care to shed some light on this ?

Cheers,

Lars




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com