diff options
Diffstat (limited to 'test/fb2/reader')
-rw-r--r-- | test/fb2/reader/notes.fb2 | 19 | ||||
-rw-r--r-- | test/fb2/reader/notes.native | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/test/fb2/reader/notes.fb2 b/test/fb2/reader/notes.fb2 new file mode 100644 index 000000000..263256933 --- /dev/null +++ b/test/fb2/reader/notes.fb2 @@ -0,0 +1,19 @@ +<?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"> + <body> + <section> + <p>Note <a l:href="#n1" type="note">1</a>.</p> + <p>Second note <a l:href="#n2" type="note">2</a>.</p> + </section> + </body> + <body name="notes"> + <section id="n1"> + <title><p>1</p></title> + <p>Note contents</p> + </section> + <section id="n2"> + <title><p>2</p></title> + <p>Second note contents.</p> + </section> + </body> +</FictionBook> diff --git a/test/fb2/reader/notes.native b/test/fb2/reader/notes.native new file mode 100644 index 000000000..f229209cd --- /dev/null +++ b/test/fb2/reader/notes.native @@ -0,0 +1,4 @@ +Pandoc (Meta {unMeta = fromList []}) +[Div ("",["section"],[]) + [Para [Str "Note",Space,Note [Para [Str "Note",Space,Str "contents"]],Str "."] + ,Para [Str "Second",Space,Str "note",Space,Note [Para [Str "Second",Space,Str "note",Space,Str "contents."]],Str "."]]] |