diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-16 17:36:39 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-02-16 17:36:39 -0800 |
commit | eca8c6043b1759dc6e821eb541d801421127eb61 (patch) | |
tree | d4731db8bb8321c9c6c19134a16e0aad7ee543ae /src/Text/Pandoc/XML.hs | |
parent | 14b64ed46c72adbaa4c1c6ed26b10df89756e178 (diff) | |
download | pandoc-eca8c6043b1759dc6e821eb541d801421127eb61.tar.gz |
EPUB writer: Fix section numbering.
Previously the numbering restarted from 1 in each chapter
(with `--number-sections`), though the numbers in the table
of contents were correct.
Note that this fix is a bit hackish and possibly fragile:
if the rendering of section numbers in HTML changes in the
future, it may break. But it works, without needing
changes in other modules.
Diffstat (limited to 'src/Text/Pandoc/XML.hs')
0 files changed, 0 insertions, 0 deletions