[pmwiki-users] Re: Re: Undesired space combined with (:if ...:)

chr at home.se chr at home.se
Sun Aug 7 11:56:00 CDT 2005


On Sun, 7 Aug 2005, Dominique Faure wrote:

> > The answer appears to be to have step 4 do the reprocessing of previous
> > markups only on the included text, but it's not entirely that simple.
> > However, the possibility I hadn't considered until now is to do the
> > marking of blank lines only on the included text, and then start
> > the reprocessing from the top.  That might work.
> 
> Why not improving a bit the CondText() function to return something else 
> than an empty string (a marker) which could be removed later (by a dedicated 
> markup rule)?

Both of these sounds reasonable, and maybe both are needed? 

As a (temporary?) workaraound, what about introducing a special markup
with the purpose of removing vertical whitespace?

Slightly related, I'm somewhat annoyed that something like

	* Item A
	(:include PageThatDoesNotExist:)
	* Item B

causes a vertical space. I've been having some annoying problems with
whitespace, includes and definition of wiki styles lately so I'd
definitely have use for a swallow-vspace-operator... See

	http://www.pmwiki.org/wiki/Test/VerticalSpace

for an example.

cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr






More information about the pmwiki-users mailing list