diff --git a/doc/if.html b/doc/if.html
index d56baf9a9b..c15fb22b3d 100644
--- a/doc/if.html
+++ b/doc/if.html
@@ -81,9 +81,9 @@ else &
'print "Minimum value = $b"' &
"minimize 0.001 0.001 1000 10000"
-
Note that if one of the commands to execute is quit (of an
-invalid LAMMPS command such as "blah"), as in the first example above,
-then executing the command will cause LAMMPS to halt.
+
Note that if one of the commands to execute is quit, as in
+the first example above, then executing the command will cause LAMMPS
+to halt.
Note that by jumping to a label in the same input script, the if
command can be used to break out of a loop. See the variable
diff --git a/doc/if.txt b/doc/if.txt
index 6c8a0fada1..bea660aa9d 100644
--- a/doc/if.txt
+++ b/doc/if.txt
@@ -78,9 +78,9 @@ else &
'print "Minimum value = $b"' &
"minimize 0.001 0.001 1000 10000" :pre
-Note that if one of the commands to execute is "quit"_quit.html (of an
-invalid LAMMPS command such as "blah"), as in the first example above,
-then executing the command will cause LAMMPS to halt.
+Note that if one of the commands to execute is "quit"_quit.html, as in
+the first example above, then executing the command will cause LAMMPS
+to halt.
Note that by jumping to a label in the same input script, the if
command can be used to break out of a loop. See the "variable
diff --git a/doc/next.html b/doc/next.html
index bcd6721b01..ed8effb539 100644
--- a/doc/next.html
+++ b/doc/next.html
@@ -136,7 +136,7 @@ jump in.script loopa
Restrictions:
-As described above
+
As described above.
Related commands:
diff --git a/doc/next.txt b/doc/next.txt
index c4ce52ce9d..2802350c59 100644
--- a/doc/next.txt
+++ b/doc/next.txt
@@ -132,7 +132,7 @@ jump in.script loopa :pre
[Restrictions:]
-As described above
+As described above.
[Related commands:]