Opened 11 years ago

Closed 21 months ago

#1341 closed defect (wontfix)

Stylist produces bad markup and leaves a trail of empty tags

Reported by: nicholasbs Owned by:
Priority: normal Milestone: Version 1.0
Component: Plugins Version: trunk
Severity: normal Keywords:


Select a few words and apply a style. Then (additionally) select a few more adjacent words and apply the same style. Ideally, this would apply the style just once, as Stylist would be smart enough to combine elements, remove redundant or unnecessary markup, etc.

For example, Stylist produces the following code (FF3) after applying the "bluetext" style to the selection "This is" and then applying the same style to the entire string "This is a test"

<span class="bluetext"></span><span class="bluetext"><span class="bluetext">This is</span> a test</span>

It would be much nicer if Stylist simply produced this:

<span class="bluetext">This is a test</span>

Not sure how much of this is browser-dependent.

Change History (1)

comment:1 Changed 21 months ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.