summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-08-12 12:53:19 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-08-12 12:53:19 (GMT)
commitbb18b811e8f1a4a939eadf28d12bc5f99dd74b82 (patch)
tree96c3b47bbfb0ee3d28e46421e1317253ba052f01 /src/htmlgen.h
parent6e8975abdb6b52477a5788bca969e13e467814dd (diff)
downloadDoxygen-bb18b811e8f1a4a939eadf28d12bc5f99dd74b82.zip
Doxygen-bb18b811e8f1a4a939eadf28d12bc5f99dd74b82.tar.gz
Doxygen-bb18b811e8f1a4a939eadf28d12bc5f99dd74b82.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"); }