[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:       Emmanuel Touzery <emmanuel.touzery () wanadoo ! fr>
Date:       2001-12-16 13:03:08
[Download RAW message or body]

Hello,

	I know it's not really valid XHTML, actually i think that putting fonts 
colors and <b> and all in a <pre> tag is invalid no? well i started trying 
putting all the XHTML headers etc, and suddendly konqueror wouldn't render 
the spaces at the beginning of lines anymore :o(
	but i was unaware of the <font></i> issue though.

I'm very very glad to see it's going to be included though!!

emmanuel

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

-- 
dessine moi un mouton..
le ciel est vide sans imagination..
_______________________________________________
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