[pmwiki-users] Unwanted carriage return with pagelist template

2007-03-27 Thread Benoit Dutilleul
Dear all, I've defined a pagelist template to output the number of entries of a query. [[#PageCount]] (:if equal {$Group}:){$$PageCount}(:ifend:) [[#PageCountend]] However, when I use it, I have an unwanted carriage return. Example: You website has [template] numbers outputs: Your website has

Re: [pmwiki-users] Unwanted carriage return with pagelist template

2007-03-27 Thread Patrick R. Michaud
On Tue, Mar 27, 2007 at 11:33:55AM +0200, Benoit Dutilleul wrote: Dear all, I've defined a pagelist template to output the number of entries of a query. [[#PageCount]] (:if equal {$Group}:){$$PageCount}(:ifend:) [[#PageCountend]] However, when I use it, I have an

Re: [pmwiki-users] Unwanted carriage return with pagelist template

2007-03-27 Thread Martin Fick
--- Patrick R. Michaud [EMAIL PROTECTED] wrote: The long answer: The output of pagelist generally comes in a div.../div wrapping, so that's probably what is causing the linebreak in the output. And even if we can get rid of the div, the standalone 4 is still going to end up enclosed in

Re: [pmwiki-users] Unwanted carriage return with pagelist template

2007-03-27 Thread Martin Fick
--- Patrick R. Michaud [EMAIL PROTECTED] wrote: Pagelist templates currently work by taking the markup produced by the template and rendering it into HTML. The major reason for this is so that div, table, list, and conditional markups inside the template don't do surprising things with the