[pmwiki-users] Skin design question
Patrick R. Michaud
pmichaud at pobox.com
Wed Jan 23 09:18:53 CST 2008
On Wed, Jan 23, 2008 at 12:56:58PM +0100, Jan Erik Moström wrote:
> -------------------------------------------------------------
> with ''styled text'', here is an example of how a word editor can
> look like:
>
> %center%Attach:texteditors_01.png
>
> Note how the text is styled in bold and italics, the characters
> are in
> -------------------------------------------------------------
>
> this get translated to
>
> -------------------------------------------------------------
> with <em>styled text</em>, here is an example of how a word
> editor can
> look like:
> </p>
> <div class='vspace'></div><div style='text-align: center;'><img
> src='http://127.0.0.1/~jem/notes/uploads/Main/texteditors_01.png'
> alt='' title='' /></div>
> <p class='vspace'>Note how the text is styled in bold and
> italics, the characters are in
> -------------------------------------------------------------
>
> The thing I don't understand is why there is a <div
> class='vspace'></div> before the image line but not afterwards.
> Can someone explain the logic behind this?
PmWiki automatically collapses
<div class='vspace'></div><p>Note how ...
to become
<p class='vspace'>Note how ...
This is handled by the '<vspace><p>' markup rule in stdmarkup.php.
Pm
More information about the pmwiki-users
mailing list