diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-03-07 21:07:13 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-03-07 21:07:13 (GMT) |
commit | 5a6400835bc92fb56ef65126785cbe75f092f2d1 (patch) | |
tree | 3f86b13900ced91ef5e802650b33a38767bf6c11 /src/htmlgen.cpp | |
parent | d745dd3737ece0f328e515b1cf10306da0901597 (diff) | |
download | Doxygen-5a6400835bc92fb56ef65126785cbe75f092f2d1.zip Doxygen-5a6400835bc92fb56ef65126785cbe75f092f2d1.tar.gz Doxygen-5a6400835bc92fb56ef65126785cbe75f092f2d1.tar.bz2 |
Release-1.4.1-20050307
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r-- | src/htmlgen.cpp | 9 |
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 << "<"; col++; break; @@ -852,6 +855,8 @@ void HtmlGenerator::codify(const char *str) break; case '&': t << "&"; col++; break; + //case ' ': t << " "; col++; + // break; case '\\': if (*p=='<') { t << "<"; p++; } |