From 2e13c0a451fe87ebd1ef2c314f7f98c40f3ec422 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Fri, 10 May 2019 09:17:21 +0300 Subject: FB2 writer: do not wrap note references into and brackets Existing FB2 readers, such as FBReader, already display links with type="note" as a superscript. --- test/writer.fb2 | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'test/writer.fb2') diff --git a/test/writer.fb2 b/test/writer.fb2 index 6f8c25cde..998048078 100644 --- a/test/writer.fb2 +++ b/test/writer.fb2 @@ -696,25 +696,15 @@ So is ‘pine.’

<p>Footnotes</p> -

Here is a footnote reference, -[1] - and another. -[2] - +

Here is a footnote reference,[1] and another.[2] This should not be a footnote reference, because it -contains a space.[^my note] Here is an inline note. -[3] - +contains a space.[^my note] Here is an inline note.[3]

-

Notes can go in quotes. -[4] - +

Notes can go in quotes.[4]

-

1. And in list items. -[5] - +

1. And in list items.[5]

This paragraph should not be part of the note, as it is not indented.

-- cgit v1.2.3