AllenDowney / plastex-oreilly

Branch of plastex that generates DocBook 4.5 that meets O'Reilly style guidelines.
7 stars 7 forks source link

TreeCleaner should be created in the right place #3

Open AllenDowney opened 12 years ago

AllenDowney commented 12 years ago

To clean up problems in the parse tree, especially elements that should not be nested inside par tags, I've added TreeCleaner to plasTeX/plastex. But that means those changes are applied regardless of which Renderer is being used. I'm not sure which of the changes I am making apply to all renderers, and which are DocBook specific.

So it's not clear where the TreeCleaner should get invoked.