diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-08-12 12:53:19 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-08-12 12:53:19 (GMT) |
commit | edeb82c1e0cebe5437fb637c9d239a8cecfca0cb (patch) | |
tree | 96c3b47bbfb0ee3d28e46421e1317253ba052f01 /src/htmlgen.h | |
parent | f4bab88acea24b261d85d25359c73cbb49869c5f (diff) | |
download | Doxygen-edeb82c1e0cebe5437fb637c9d239a8cecfca0cb.zip Doxygen-edeb82c1e0cebe5437fb637c9d239a8cecfca0cb.tar.gz Doxygen-edeb82c1e0cebe5437fb637c9d239a8cecfca0cb.tar.bz2 |
Release-1.3.8-20040812
Diffstat (limited to 'src/htmlgen.h')
-rw-r--r-- | src/htmlgen.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/htmlgen.h b/src/htmlgen.h index e63030a..9371970 100644 --- a/src/htmlgen.h +++ b/src/htmlgen.h @@ -21,6 +21,9 @@ #include "qtbc.h" #include "outputgen.h" +#define PREFRAG_START "<div class=\"fragment\"><pre class=\"fragment\">" +#define PREFRAG_END "</pre></div>" + class QFile; class HtmlGenerator : public OutputGenerator @@ -112,8 +115,8 @@ class HtmlGenerator : public OutputGenerator void writeRuler() { t << "<hr>"; } void writeAnchor(const char *,const char *name) { t << "<a name=\"" << name <<"\"></a>"; } - void startCodeFragment() { t << "<pre class=\"fragment\"><div>"; } - void endCodeFragment() { t << "</div></pre>"; } + void startCodeFragment() { t << PREFRAG_START; } + void endCodeFragment() { t << PREFRAG_END; } void writeLineNumber(const char *,const char *,const char *,int); void startCodeLine() { col=0; } void endCodeLine() { codify("\n"); } |