summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/htmlgen.cpp2
-rw-r--r--templates/html/doxygen.css5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index e8da420..e6431e8 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -653,7 +653,7 @@ void HtmlCodeGenerator::startCodeLine(bool hasLineNumbers)
void HtmlCodeGenerator::endCodeLine()
{
- if (m_streamSet) m_t << "</div>\n";
+ if (m_streamSet) m_t << "</div>";
}
void HtmlCodeGenerator::startFontClass(const char *s)
diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css
index 8383f5a..583d973 100644
--- a/templates/html/doxygen.css
+++ b/templates/html/doxygen.css
@@ -206,6 +206,11 @@ div.line {
transition-duration: 0.5s;
}
+div.line:after {
+ content:"\000A";
+ white-space: pre;
+}
+
div.line.glow {
background-color: cyan;
box-shadow: 0 0 10px cyan;