diff options
author | albert-github <albert.tests@gmail.com> | 2016-11-13 10:24:51 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2016-11-13 10:24:51 (GMT) |
commit | d2593e56cd52ecee2424d844916f95e12fef27c8 (patch) | |
tree | 9df07ee2b80f5fd92dfe5237397ea7090332d232 /src/htmlgen.cpp | |
parent | 5f01f783e2387a5d44ad70fbff5365aa0e5df938 (diff) | |
download | Doxygen-d2593e56cd52ecee2424d844916f95e12fef27c8.zip Doxygen-d2593e56cd52ecee2424d844916f95e12fef27c8.tar.gz Doxygen-d2593e56cd52ecee2424d844916f95e12fef27c8.tar.bz2 |
Bug 774138 - Please add HTML classes to "Definition at..." & "Referenced by..." for CSS
Added class= to html output for "Definition at..." resulting in p.definition in the css file and for "Referenced by .. " and "References ..." resulting in p.definition in css file.
(also corrected some error messages).
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index a5ec7ff..28a363b 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1052,9 +1052,12 @@ void HtmlGenerator::endDoxyAnchor(const char *,const char *) // t << endl << "<p>" << endl; //} -void HtmlGenerator::startParagraph() +void HtmlGenerator::startParagraph(const char *classDef) { - t << endl << "<p>"; + if (classDef) + t << endl << "<p class=\"" << classDef << "\">"; + else + t << endl << "<p>"; } void HtmlGenerator::endParagraph() |