[Doxygen-develop] strategies for XHTML support
Brought to you by:
dimitri
From: Francesco M. <f18...@ya...> - 2008-03-02 09:47:20
|
Hi, before making a kilometric patch I'd like to discuss the changes I think are necessary for XHTML support: 1) split BaseOutputDocInterface::writeListItem into two functions: startItemListItem, endItemListItem, which allow to put also the necessary </li> correctly everywhere required. 2) split BaseOutputDocInterface::writeDescItem into two functions: startDescForItem, endDescForItem, which allow to put also the necessary </dd> correctly everywhere required. 3) remove deprecated HTML4 attributes (compact, nowrap, some align, etc) from htmlgen.cpp and htmldocvisitor.cpp; turn empty tags from e.g. <br> to <br/>; rename 'name' attribute to 'id' attribute 4) change MemberDef::setAnchor to generate an anchor ID which always starts with a non-numeric character (as required by 'id' attribute); I've done this just prefixing the MD5 with 'a' 5) most tedious one: couple _every_ startParagraph/newParagraph call to a endParagraph one I attach the _preview_ version of a patch doing these 5 things to show you better what I mean... Please tell me if you think I'm doing something wrong: I hate do useless work :) Francesco |