summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-08-12 12:53:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-08-12 12:53:19 (GMT)
commitedeb82c1e0cebe5437fb637c9d239a8cecfca0cb (patch)
tree96c3b47bbfb0ee3d28e46421e1317253ba052f01 /src/htmlgen.h
parentf4bab88acea24b261d85d25359c73cbb49869c5f (diff)
downloadDoxygen-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.h7
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"); }