Opened 13 years ago

Closed 11 years ago

#1144 closed defect (cantfix)

XHTML and nested lists

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: minor Keywords:


XHTML transitional requires <ul><li>abc<ul><li>one</li><li>two</li></ul></li></ul>

instead of:


to validate. I think it's rather stupid, but hey, it's the spec.
Xinha produces the latter.

Change History (2)

comment:1 Changed 12 years ago by gogo

  • Milestone 0.96 deleted
  • Severity changed from normal to minor

This appears to be the browser behaviour for execCommand 'indent' (at least in Firefox, havn't checked IE) not the doing of Xinha.

I think realistically that this would be quite difficult to work around in a useful manner, on the face of it, it seems simple, but then you think about what happens when you "outdent" something in the middle of an indented list, you now have to break the list in two and put the one outdented somewhere and..... oh boy.

A job for an "XHTML Output" plugin maybe.

comment:2 Changed 11 years ago by gogo

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