diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html
index 9ed408d3455ceb451dae8ee09cebf70ede760cf7..f3715f3bdfb956d48fc932f549b2dabf1c305baa 100644
--- a/doc/go_tutorial.html
+++ b/doc/go_tutorial.html
@@ -355,7 +355,7 @@ By the way, another thing that works on strings, arrays, slices, maps
 and channels is the <code>range</code> clause on <code>for</code> loops.  Instead of writing
 <p>
 <pre>
-    for i := 0; i < len(a); i++ { ... }
+    for i := 0; i &lt; len(a); i++ { ... }
 </pre>
 <p>
 to loop over the elements of a slice (or map or ...) , we could write
diff --git a/doc/go_tutorial.txt b/doc/go_tutorial.txt
index dae3c6815e9c6a2477927726698d8405ae309628..7c0ffac80c9b8d6d6c6f3f1a65149fb077e32158 100644
--- a/doc/go_tutorial.txt
+++ b/doc/go_tutorial.txt
@@ -278,7 +278,7 @@ slices, maps, and channels.
 By the way, another thing that works on strings, arrays, slices, maps
 and channels is the "range" clause on "for" loops.  Instead of writing
 
-	for i := 0; i < len(a); i++ { ... }
+	for i := 0; i &lt; len(a); i++ { ... }
 
 to loop over the elements of a slice (or map or ...) , we could write