[pmwiki-users] Nested divs needed for blog styling...

Ryan R. Varick rvarick at gmail.com
Sun Dec 11 21:50:17 CST 2005


On 12/11/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> Perhaps don't use the div markup for the box -- just use a normal
> HTML <div> tag:
>
>          $digest  .= "\n<div class='blogitem'>\n";
>          $digest  .= $stuffing;  // The actual post.
>          $digest  .= "\n</div>\n";

This is the solution.  I'll be adding code similiar to this to
alternate back and forth between two blog classes (for different
backgrounds).

Just FYI, you have to have to add div to $AllowedTags set in order for
this to work.

Hmm... this seems to have turned in to the EnableHTML recipe...?

Ryan




More information about the pmwiki-users mailing list