[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: [Kwrite-devel] [PATCH] nice feature for kate..
From:       Daniel Naber <daniel.naber () t-online ! de>
Date:       2001-12-16 12:53:51
[Download RAW message or body]

On Sunday 16 December 2001 09:31, Emmanuel Touzery wrote:

> Recently i discovered a nice feature from vim: export a syntax
> enlightened source in HTML.. great isn't it?

Very cool! However, your version currently produces invalid XHTML, i.e. 
it's not well-fomed. There's e.g. "<font ...></i>" in your patch.html. 

There are two ways to fix it:

1. Whenever bold, italic or font changes, close *all* open tags and open 
the required ones again, in the correct order.

2. Build a list of all styles and then export <span 
class="variable">..</span> etc.

Regards
 Daniel

-- 
http://www.danielnaber.de
_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic