aboutsummaryrefslogtreecommitdiff
path: root/test/fb2
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-04-19 17:03:21 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-04-19 17:03:21 +0300
commitcaeb963447440edb14a67bb02cb6c956232dce63 (patch)
tree20c8c373aa3b09912f722255d8f4efc935d89fb5 /test/fb2
parentce4326a4f12180844532febf93261f098cd6c5aa (diff)
downloadpandoc-caeb963447440edb14a67bb02cb6c956232dce63.tar.gz
FB2 writer: convert metadata value "abstract" to book annotation
Diffstat (limited to 'test/fb2')
-rw-r--r--test/fb2/meta.fb23
-rw-r--r--test/fb2/meta.markdown7
2 files changed, 10 insertions, 0 deletions
diff --git a/test/fb2/meta.fb2 b/test/fb2/meta.fb2
new file mode 100644
index 000000000..04bd5f3c5
--- /dev/null
+++ b/test/fb2/meta.fb2
@@ -0,0 +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><book-title>Book title</book-title><annotation><p>This is the abstract.</p>It consists of two paragraphs.</annotation></title-info><document-info><program-used>pandoc</program-used></document-info></description><body><title><p>Book title</p></title></body></FictionBook>
+
diff --git a/test/fb2/meta.markdown b/test/fb2/meta.markdown
new file mode 100644
index 000000000..5edad2981
--- /dev/null
+++ b/test/fb2/meta.markdown
@@ -0,0 +1,7 @@
+---
+title: Book title
+abstract: |
+ This is the abstract.
+
+ It consists of two paragraphs.
+---