On Mon, 21 Jun 2010 19:51:06 -0700 Kristen Carlson Accardi <[email protected]> wrote:
> On Tue, 22 Jun 2010 00:45:39 +0200 > andrzej zaborowski <[email protected]> wrote: > > > Can we always end_format() and start_format() when the formatting > > changes, and just once instead of in a loop? Here's a test case that > > I'm worried about: > > > > text is "abc" > > attribute 1 (red text) starts at 0, len 2 > > attribute 2 (blue text) starts at 1, len 2 > > > > the generated html, by my reading will look like this: > > <span style="color: red;">a<span style="color: blue;">b</span>c</span> > > I ran this test just to make sure, the generated html is not as > you fear and is correct (I used different colors though) > > <html><body><span style="color: #347235;background-color: #FFFFFF;">a<span > style="color: #0000A0;background-color: > #FFFFFF;">b</span></span>c</body></html> Hum, ok, this is not correct.... I see your concern and will fix. _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
