Pier - IMG placement

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pier - IMG placement

John Borden
Pier Experts,
At my work, we've been running a smallwiki (the origininal version of  
pier) for about 3 years, and have accumulated around 3k pages.  While  
looking into upgrading to pier, I noticed that the newest images on  
** site resolve the missing slash problem (backslashes disappear in  
preformatted text if they don't preceed a *), however there's a new  
problem.  Suppose I have images intermingled with text, such as:
         text1
         <IMG ALT="Picture1" src="http://apache/resources/images/ 
pic1.png" />
         text2
         <IMG ALT="Picture2" src="http://apache/resources/images/ 
pic2.png" />
         text3
Assuming that the apache server is down, it would appear as:
         text1
         Picture1
         text2
         Picture2
         text3
With the new version of pier, it is displaying as:
         text1
         Picture1 text2
                   Picture2 text3
Does anyone know a way to fix this?  Is it in the CSS or in the ST code?

Thanks in advance,
John Borden

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier - IMG placement

Lukas Renggli-2
Hi John,

it looks to me that I missed your message.

Sorry, for replaying that late.

> At my work, we've been running a smallwiki (the origininal version of
> pier) for about 3 years, and have accumulated around 3k pages.

Wow, that's a lot of pages.

> With the new version of pier, it is displaying as:
>         text1
>         Picture1 text2
>                   Picture2 text3
> Does anyone know a way to fix this?  Is it in the CSS or in the ST  
> code?

This is because of the new way paragraphs are handles in Pier. If you  
type

   foo.
   bar.

This will appear as "foo. bar." in the resulting HTML. To get two  
paragraphs you need to put a blank line in-between:

   foo.

   bar.

Hope this helps?

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki