From 03f0c08f4730f3c80b65221749267b6436eac576 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Wed, 28 Mar 2012 20:37:19 +0300
Subject: [PATCH] Tweak markup to avoid extra whitespace in man pages

---
 doc/src/sgml/ref/pg_receivexlog.sgml  | 7 +++----
 doc/src/sgml/ref/psql-ref.sgml        | 6 ++----
 doc/src/sgml/ref/set_transaction.sgml | 3 +--
 3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml
index fad7470ee35..09ac964bf84 100644
--- a/doc/src/sgml/ref/pg_receivexlog.sgml
+++ b/doc/src/sgml/ref/pg_receivexlog.sgml
@@ -253,10 +253,9 @@ PostgreSQL documentation
    To stream the transaction log from the server at
    <literal>mydbserver</literal> and store it in the local directory
    <filename>/usr/local/pgsql/archive</filename>:
-   <screen>
-    <prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /home/pgbackup/archive</userinput>
-   </screen>
-  </para>
+<screen>
+<prompt>$</prompt> <userinput>pg_receivexlog -h mydbserver -D /home/pgbackup/archive</userinput>
+</screen></para>
  </refsect1>
 
  <refsect1>
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 9710e32dfbe..b8491015f4e 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1017,8 +1017,7 @@ testdb=&gt;
         those object types.
         </para>
 
-        <para>
-        <literal>\dd</literal> displays descriptions for objects matching the
+        <para><literal>\dd</literal> displays descriptions for objects matching the
         <replaceable class="parameter">pattern</replaceable>, or of visible
         objects of the appropriate type if no argument is given.  But in either
         case, only objects that have a description are listed.
@@ -2302,8 +2301,7 @@ lo_import 152801
 <programlisting>
 testdb=&gt; <userinput>\setenv PAGER less</userinput>
 testdb=&gt; <userinput>\setenv LESS -imx4F</userinput>
-</programlisting>
-        </para>
+</programlisting></para>
         </listitem>
       </varlistentry>
 
diff --git a/doc/src/sgml/ref/set_transaction.sgml b/doc/src/sgml/ref/set_transaction.sgml
index 4327ca51a69..f0607296802 100644
--- a/doc/src/sgml/ref/set_transaction.sgml
+++ b/doc/src/sgml/ref/set_transaction.sgml
@@ -235,8 +235,7 @@ SELECT pg_export_snapshot();
 <programlisting>
 BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ;
 SET TRANSACTION SNAPSHOT '000003A1-1';
-</programlisting>
-  </para>
+</programlisting></para>
  </refsect1>
 
  <refsect1 id="R1-SQL-SET-TRANSACTION-3">
-- 
GitLab