[pmwiki-users] Skin design question

Jan Erik Moström lists at mostrom.pp.se
Wed Jan 23 05:56:58 CST 2008


New question: I'm trying to design my own skin and so far things 
are working out fairly well (many thanks to those who answered 
my previous questions). However, I've got a question about how 
the translation from PmWiki markup to HTML works.

I've got the following text

-------------------------------------------------------------
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?

-- 
Jan Erik Moström, www.mostrom.pp.se




More information about the pmwiki-users mailing list