From c75b558cbc2d21cdc4f5fa243b5f900ca7e83bbc Mon Sep 17 00:00:00 2001
From: John <46772462+KetzerX@users.noreply.github.com>
Date: Fri, 22 Feb 2019 10:43:43 +0300
Subject: Add section identifiers support for FB2 writer (#5315)

Closes #5229.
---
 test/fb2/basic.fb2  | 6 +++---
 test/fb2/titles.fb2 | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'test/fb2')

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>
 
-- 
cgit v1.2.3