[Vimoutliner] otl2html and ikiwiki

Sean E. Russell ser at germane-software.com
Sun Aug 20 10:46:52 EDT 2006


On Saturday 19 August 2006 14:42, Joey Hess wrote:
> otl2html doesn't produce valid xhtml, since it doesn't close <li> tags.
> It also has a few other problems, like not wrapping everything inside
> <ol> tags in <li>. I wonder if that could be fixed so it generates valid
> xhtml? I don't speak python well, or I'd try to fix it. (If I have to
> tackle this myself, I'll probably end up writing a perl library, since that
> would be a better fit for me.)

There's another bug in otl2html where it doesn't close tables if they're the 
last item in the list.  Eg:

Foo
Bar
|| A | B | C |
| 1 | 2 | 3 |
| 4 | 5 | 6 |

produces:

...
<table class="TAB1">
<tr><th>A</th><th>B</th><th>C</th></tr>
<tr><td>1</td><td>2</td><td>3</td></tr>
<tr><td>4</td><td>5</td><td>6</td></tr> </ol>
</div>
...

-- 
### SER   
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido|Iaido
### http://www.ser1.net  jabber.com:ser  ICQ:83578737 
### GPG: http://www.ser1.net/Security/ser_public.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.vimoutliner.org/pipermail/vimoutliner/attachments/20060820/452c9531/attachment.bin


More information about the VimOutliner mailing list