strategies for XHTML support
Francesco Montorsi <[email protected]>
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Doxygen-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/doxygen-develop
html_to_xhtml.tar.bz2
(application/x-bzip, 7.3 KB) - not displayed