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
|