x97mdr/pickles — pull request #62 by dirkrombauts (2012-03-02 06:56:22+00:00)
Title: Fixing the problem with having "div" elements as children of "ul"

The Html specification says that "ul" can have only "li" children. Pickles generates "div" children, however.

My first idea was to make the "li" children contain the "div", but then it turned out that the CSS stylesheet does not need the "div" at all: the pages render the same if the "div" element is absent.

So I wrote a unit test that checks whether all children of "ul" are of type "li", and then I fixed the production code.

Dirk