diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index eabe2a9235..b405e49fe3 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3212,9 +3212,9 @@ include_dir 'conf.d'
The synchronous standbys will be those whose names appear
in this list, and
that are both currently connected and streaming data in real-time
- (as shown by a state of streaming in the
-
- pg_stat_replication view).
+ (as shown by a state of streaming in the pg_stat_replication
+ view).
Specifying more than one synchronous standby can allow for very high
availability and protection against data loss.
@@ -3461,8 +3461,9 @@ ANY num_sync (
- pg_stat_replication view. The standby will report
+ pg_stat_replication
+ view. The standby will report
the last write-ahead log location it has written, the last position it
has flushed to disk, and the last position it has applied.
This parameter's