summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmlgen.h')
-rw-r--r--src/htmlgen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlgen.h b/src/htmlgen.h
index f06318f..29d7385 100644
--- a/src/htmlgen.h
+++ b/src/htmlgen.h
@@ -112,8 +112,8 @@ class HtmlGenerator : public OutputGenerator
void writeRuler() { t << "<hr>"; }
void writeAnchor(const char *,const char *name)
{ t << "<a name=\"" << name <<"\"></a>"; }
- void startCodeFragment() { t << "<div class=\"fragment\"><pre>"; }
- void endCodeFragment() { t << "</pre></div>"; }
+ void startCodeFragment() { t << "<pre class=\"fragment\"><div>"; }
+ void endCodeFragment() { t << "</div></pre>"; }
void writeLineNumber(const char *,const char *,const char *,int);
void startCodeLine() { col=0; }
void endCodeLine() { codify("\n"); }