diff --git a/test/doxygen/boost/example.hpp b/test/doxygen/boost/example.hpp
index 629a6d9..9b32da0 100644
--- a/test/doxygen/boost/example.hpp
+++ b/test/doxygen/boost/example.hpp
@@ -153,8 +153,36 @@ namespace example
*
* \code
* void foo() {}
+ * void foo2() {}
* \endcode
*
+ * \code
+ * void bar() {}
+ *
+ * void bar2() {}
+ * \endcode
+ *
+ * Alternative way of writing code, has a complicated workaround
+ * because doxygen treats the empty line as a paragraph
+ * separator:
+ *
+ *
+ * int bar();
+ *
+ * int bar2();
+ *
+ *
+ * Unfortunately the workaround will merge consecutive blocks,
+ * like this:
+ *
+ *
+ * int foo();
+ *
+ *
+ *
+ * int foo2();
+ *
+ *
* \tparam TypeParameter A template parameter
* \tparam NonTypeParameter This is a non-type template parameter
* \tparam TypeParameterWithDefault This is a template parameter with a default argument
diff --git a/xsl/doxygen/doxygen2boostbook.xsl b/xsl/doxygen/doxygen2boostbook.xsl
index 577484b..5d68930 100644
--- a/xsl/doxygen/doxygen2boostbook.xsl
+++ b/xsl/doxygen/doxygen2boostbook.xsl
@@ -1726,11 +1726,11 @@
-
+
-
-
+
+