[Doxygen-develop] another tiny patch for formula/HTML
Brought to you by:
dimitri
From: Vassilii K. <vas...@ta...> - 2003-05-02 15:25:04
|
This one removes the space after an inline formula's <img> tag. This allows to write things like \f$\mbox{\LaTeX}\f$'s in your dox and not to have the apostrophy float away. If somebody relied on the old behaviour, it's always possible to ride on the inline formula img css property sheet to mandate a trailing space there (although I doubt anyone would actually want that). Index: htmldocvisitor.cpp =================================================================== RCS file: /u/kp3softd/cvsroot/src/htmldocvisitor.cpp,v retrieving revision 1.18 diff -u -p -r1.18 htmldocvisitor.cpp --- htmldocvisitor.cpp 2003/04/30 19:40:09 1.18 +++ htmldocvisitor.cpp 2003/05/01 21:03:42 @@ -275,8 +275,6 @@ void HtmlDocVisitor::visit(DocFormula *f m_t << " src=\"" << f->name() << ".png\">"; if (bDisplay) m_t << endl << "<p>" << endl; - else - m_t << " "; } void HtmlDocVisitor::visit(DocIndexEntry *) |