summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-03-07 21:07:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-03-07 21:07:13 (GMT)
commit42eb3f9c14016086a2d2b18951585816eaf7bcab (patch)
tree3f86b13900ced91ef5e802650b33a38767bf6c11 /src/htmlgen.cpp
parent47b04448404f708d25de41246b04fb2219cc81df (diff)
downloadDoxygen-42eb3f9c14016086a2d2b18951585816eaf7bcab.zip
Doxygen-42eb3f9c14016086a2d2b18951585816eaf7bcab.tar.gz
Doxygen-42eb3f9c14016086a2d2b18951585816eaf7bcab.tar.bz2
Release-1.4.1-20050307
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index a9583e6..1bea909 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -125,7 +125,8 @@ static const char *defaultStyleSheet =
"A:hover { text-decoration: none; background-color: #f2f2ff }\n"
"DL.el { margin-left: -1cm }\n"
".fragment {\n"
-" font-family: monospace\n"
+" font-family: Fixed, monospace;\n"
+" font-size: 90%;\n"
"}\n"
"PRE.fragment {\n"
" border: 1px solid #CCCCCC;\n"
@@ -843,8 +844,10 @@ void HtmlGenerator::codify(const char *str)
t << spaces.left(spacesToNextTabStop);
col+=spacesToNextTabStop;
break;
- case '\n': t << '\n'; col=0;
+ case '\n': t << "\n"; col=0;
break;
+ //case '\n': t << "<br>"; col=0;
+ // break;
case '\r': break;
case '<': t << "&lt;"; col++;
break;
@@ -852,6 +855,8 @@ void HtmlGenerator::codify(const char *str)
break;
case '&': t << "&amp;"; col++;
break;
+ //case ' ': t << "&nbsp;"; col++;
+ // break;
case '\\':
if (*p=='<')
{ t << "&lt;"; p++; }