diff --git a/doc/manual/command-ref/nix-hash.xml b/doc/manual/command-ref/nix-hash.xml
index 8d8213c0bca8dea6c447d7cdb05cb21382ac2cb7..80263e18e339e488c57690eb4795ef3bc5f16ad4 100644
--- a/doc/manual/command-ref/nix-hash.xml
+++ b/doc/manual/command-ref/nix-hash.xml
@@ -126,9 +126,9 @@ cryptographic hash as <literal>nix-store --dump
 
 <para>Computing the same hash as <command>nix-prefetch-url</command>:
 <screen>
-$ nix-prefetch-url file://<(echo test)
+$ nix-prefetch-url file://&lt;(echo test)
 1lkgqb6fclns49861dwk9rzb6xnfkxbpws74mxnx01z9qyv1pjpj
-$ nix-hash --type sha256 --flat --base32 <(echo test)
+$ nix-hash --type sha256 --flat --base32 &lt;(echo test)
 1lkgqb6fclns49861dwk9rzb6xnfkxbpws74mxnx01z9qyv1pjpj
 </screen>
 </para>