[pmwiki-users] Mini - pagelist with mini: on Category/myCat Page - unwanted linebreak

Petko Yotov 5ko at 5ko.fr
Wed Jan 22 19:52:23 CST 2014


lists at basel-inside.ch writes:

> At the moment I have
>
> Files with
> (:description [[{$FullName}|mini:Carpet/1.jpg"{$Title}"]]:)

You are misusing the Description attribute and the meta description HTML tag  
- but I assume you know what you are doing.


> <div><a class='wikilink' href='http://orientalcarpetstudio.com.jovinus- 
> meta.net/Carpet/10001?Trail=Category.Gross'><img class="mini"  
> src="/pm/orientalcarp/uploads/Carpet/th00---1.jpg.jpg" title="10001"  
> alt="10001" border="0" /></a> </div>
> for each picture, which creates a break

PmWiki treats a picture at the beginning of a line as something that needs  
to be wrapped in <div> tags. I think if you precede the markup with [==] it  
will not be wrapped (untested):

(:template each:)
[==] {=$Description}

Petko




More information about the pmwiki-users mailing list