diff options
author | John <46772462+KetzerX@users.noreply.github.com> | 2019-02-22 10:43:43 +0300 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-22 00:43:43 -0700 |
commit | c75b558cbc2d21cdc4f5fa243b5f900ca7e83bbc (patch) | |
tree | c2b378f1f2633f2f898010d2dcaefb8f8116e96b /test/fb2 | |
parent | 69d433d37a2b50b2d07f588603a6fbc03041c0af (diff) | |
download | pandoc-c75b558cbc2d21cdc4f5fa243b5f900ca7e83bbc.tar.gz |
Add section identifiers support for FB2 writer (#5315)
Closes #5229.
Diffstat (limited to 'test/fb2')
-rw-r--r-- | test/fb2/basic.fb2 | 6 | ||||
-rw-r--r-- | test/fb2/titles.fb2 | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/fb2/basic.fb2 b/test/fb2/basic.fb2 index df71e8456..dfea55b92 100644 --- a/test/fb2/basic.fb2 +++ b/test/fb2/basic.fb2 @@ -12,15 +12,15 @@ <title> <p /> </title> -<section> +<section id="top-level-title"> <title> <p>Top-level title</p> </title> -<section> +<section id="section"> <title> <p>Section</p> </title> -<section> +<section id="subsection"> <title> <p>Subsection</p> </title> diff --git a/test/fb2/titles.fb2 b/test/fb2/titles.fb2 index 4e56fb3e6..d7e585902 100644 --- a/test/fb2/titles.fb2 +++ b/test/fb2/titles.fb2 @@ -1,3 +1,3 @@ <?xml version="1.0" encoding="UTF-8"?> -<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink"><description><title-info><genre>unrecognised</genre></title-info><document-info><program-used>pandoc</program-used></document-info></description><body><title><p /></title><section><title><p>Simple title</p></title><p>This example tests FictionBook titles.</p></section><section><title><p><emphasis>Emphasized</emphasis> <strong>Strong</strong> Title</p></title></section></body></FictionBook> +<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink"><description><title-info><genre>unrecognised</genre></title-info><document-info><program-used>pandoc</program-used></document-info></description><body><title><p /></title><section id="simple-title"><title><p>Simple title</p></title><p>This example tests FictionBook titles.</p></section><section id="emphasized-strong-title"><title><p><emphasis>Emphasized</emphasis> <strong>Strong</strong> Title</p></title></section></body></FictionBook> |