<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=UTF-8>
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I call up a blog entry from a snippet and it
doesn't get formatted with <p> tags. When I visit it the regular way
it doesget formatted. Both methods seem to go through the same
node.tpl.php file - it seems that the $content var that is passed to that should
already have the formatting.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>this is the snippet code I am using:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>-----------------------------------------------------8<---------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>function
_myfunctions_latest_blog_entries($listlength, $userid) {<BR> $sql = "SELECT
* FROM {node} n, users WHERE n.type = 'blog' AND n.uid = $userid AND n.status =
1 AND n.uid = users.uid ORDER BY n.created DESC LIMIT
$listlength";<BR> $result = db_query($sql);<BR> while ($anode =
db_fetch_object($result)) {<BR> $output .= theme('node', $anode,
$teaser = FALSE, $page = FALSE);<BR> }<BR> return
$output;<BR>}</FONT></DIV>
<DIV><FONT face=Arial
size=2>-----------------------------------------------------8<---------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I guess the problem is in this line?:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$output .= theme('node', $anode, $teaser = FALSE,
$page = FALSE);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What should I call instead?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any help in understanding
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Josh</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>