mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
We don't need to reset counters we aren't using.
This commit is contained in:
parent
b3ceb89efc
commit
096de4d82c
@ -1900,7 +1900,9 @@ void Buffer::writeLyXHTMLSource(odocstream & os,
|
||||
if (output_body_tag)
|
||||
os << "<body>\n";
|
||||
XHTMLStream xs(os);
|
||||
params().documentClass().counters().reset();
|
||||
if (output != IncludedFile)
|
||||
// if we're an included file, the counters are in the master.
|
||||
params().documentClass().counters().reset();
|
||||
xhtmlParagraphs(text(), *this, xs, runparams);
|
||||
if (output_body_tag)
|
||||
os << "</body>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user