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
mydbserver and store it in the local directory
/usr/local/pgsql/archive:
-
- $ pg_receivexlog -h mydbserver -D /home/pgbackup/archive
-
-
+
+$ pg_receivexlog -h mydbserver -D /home/pgbackup/archive
+
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=>
those object types.
-
- \dd displays descriptions for objects matching the
+ \dd displays descriptions for objects matching the
pattern, 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
testdb=> \setenv PAGER less
testdb=> \setenv LESS -imx4F
-
-
+
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();
BEGIN TRANSACTION ISOLATION LEVEL REPEATABLE READ;
SET TRANSACTION SNAPSHOT '000003A1-1';
-
-
+