summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-11-28 20:27:52 (GMT)
committerGitHub <noreply@github.com>2016-11-28 20:27:52 (GMT)
commit8b13ee363b6feccde5ab24c673a2861d6f883b96 (patch)
treef4799e4a0ecc15830b183d672554f245044a4c91 /src/htmlgen.cpp
parentb196b1a28151d75d9546dcc407947fbf29789cc5 (diff)
parentd2593e56cd52ecee2424d844916f95e12fef27c8 (diff)
downloadDoxygen-8b13ee363b6feccde5ab24c673a2861d6f883b96.zip
Doxygen-8b13ee363b6feccde5ab24c673a2861d6f883b96.tar.gz
Doxygen-8b13ee363b6feccde5ab24c673a2861d6f883b96.tar.bz2
Merge pull request #545 from albert-github/feature/bug_774138
Bug 774138 - Please add HTML classes to "Definition at..." & "Referenced by..." for CSS
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp7
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()