HTML tags optimization

Steve Holden steve at holdenweb.com
Fri Sep 2 08:48:58 EDT 2005


DENG wrote:
> hi all,
> 
> i want to do some optimizations for HTML tags,
> 
> something like this:
> 
> <i><b>TEXT1</b></i><b><i><u>TEXT2</u></i></b>
> 
> optimise to
> 
> <i><b>TEXT1<u>TEXT2</u></b><i>
> 
> at the very beginning, i was thinking of analysing each text-block, to
> know their color, size, if is bold or italic, but i found it was too
> complicated.
> 
[etc ...]

Are you expecting the answers to be different that they were two days ago?

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC             http://www.holdenweb.com/




More information about the Python-list mailing list