Issue Bug Closed

#14317RTE produces invalid nested list markup

Christopher 09/15/04, 23:28 updated 08/12/06, 14:20

Description

When nesting ordered and unordered lists, the RTE produces markup like this:


  • List item

  • List item


    1. List item


  • List item

But ,
    and
      (and, for that matter, any other elements except
    • ) are not permitted immediately inside
        /
          elements. The correct markup would be like this:

          • List item

          • List item

            1. List item



          • List item

          …in other words, the nested list should be wrapped in one of the

        • elements from the outer list. Unless I’m mistaken, this can’t be adjusted in the RTE config.
        • (issue imported from #M360)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.