From c3aa843da8ad1d56b54ac287a585022946422661 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 30 Aug 2020 22:08:01 +0200 Subject: [PATCH] DocBook: fixes in bibliography (missing new line at the end). --- autotests/export/docbook/easy.xml | 5 +++-- autotests/export/docbook/issue_infinite_loop.xml | 5 +++-- src/insets/InsetBibtex.cpp | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/autotests/export/docbook/easy.xml b/autotests/export/docbook/easy.xml index 883c98226e..e3013211bc 100644 --- a/autotests/export/docbook/easy.xml +++ b/autotests/export/docbook/easy.xml @@ -12,8 +12,9 @@ I am an abstract I am also an abstract + -
+
I am the first section I am the first paragraph of the first section. I am the second paragraph of the first section. @@ -50,7 +51,7 @@
I am the second section I am the only paragraph of the second section. Hyperlink. “Text between quotes.” -See . +See .
I am the third section and I deal with star sections diff --git a/autotests/export/docbook/issue_infinite_loop.xml b/autotests/export/docbook/issue_infinite_loop.xml index d6e55ee90e..e262ed48aa 100644 --- a/autotests/export/docbook/issue_infinite_loop.xml +++ b/autotests/export/docbook/issue_infinite_loop.xml @@ -5,7 +5,8 @@ William Shakespeare
Publications -First Folio. Me. 1623..
- + +First Folio. Me. 1623.. + \ No newline at end of file diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index c03a8e24d3..05fd23dfb8 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -1411,6 +1411,7 @@ void InsetBibtex::docbook(XMLStream & xs, OutputParams const &) const // Footer for bibliography. xs << xml::EndTag("bibliography"); + xs << xml::CR(); }