Re: difference between startParagraph() and newParagraph()

Dimitri Van Heesch <[email protected]>
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
On 2 mrt 2008, at 00:27, Francesco Montorsi wrote:

> Hi,
>   what's the difference between
>
>  BaseOutputDocInterface::startParagraph
>
>  and
>
>  BaseOutputDocInterface::newParagraph ?
>
> I'd like to understand it to fix the <p> disposal which is the main
> obstacle to correct XHTML generation...

The newParagraph was added before startParagraph, at a time
I did not saw the need for a </p> marker.

Later on startParagraph()
and endParagraph() were added, but the code still has calls to
newParagraph() as well, so these need to be replaced.

Also note the TODO in HtmlDocVisitor::visitPre(DocPara *) in  
htmldocvisitor.cpp

Regards,
   Dimitri

-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.