]> git.lyx.org Git - features.git/commitdiff
Fix bibliography output.
authorRichard Heck <rgheck@comcast.net>
Thu, 11 Jun 2009 22:31:27 +0000 (22:31 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 11 Jun 2009 22:31:27 +0000 (22:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30054 a592a061-630c-0410-9148-cb99ea01b6c8

src/output_xhtml.cpp

index d008bc0eab2bb03944b7a8dd2e59f3b6d74f18d2..958844b2b5cf197f40bbfde88dbf85944757fe92 100644 (file)
@@ -224,11 +224,12 @@ ParagraphList::const_iterator makeBibliography(Buffer const & buf,
                                ParagraphList::const_iterator const & pbegin,
                                ParagraphList::const_iterator const & pend) 
 {
-       os << "<div class='bibliography'>\n" 
-          << "<h2 class='bibliography'>" 
+       os << "<h2 class='bibliography'>" 
           << pbegin->layout().labelstring() 
-          << "</h2>\n";
-       makeParagraphs(buf, os, runparams, paragraphs, pbegin, pend);
+          << "</h2>\n"
+          << "<div class='bibliography'>\n";
+                       makeParagraphs(buf, os, runparams, paragraphs, pbegin, pend);
+       os << "</div>";
        return pend;
 }