about summary refs log tree commit diff
path: root/doc/manual/command-ref/nix-hash.xml
diff options
context:
space:
mode:
authorJoe Hermaszewski <github@sub.monoid.al>2017-12-09T15·31+0000
committerGitHub <noreply@github.com>2017-12-09T15·31+0000
commit35a49f1d7fad32ab2668a9acd0dc18fb191dde8c (patch)
tree636ea748725bb19bdcadd79b38265d618481cd2f /doc/manual/command-ref/nix-hash.xml
parent0b59882fe33d375019f9f6f760144151c2a5aa4b (diff)
Escape left angle brackets in XML documentation
Diffstat (limited to 'doc/manual/command-ref/nix-hash.xml')
-rw-r--r--doc/manual/command-ref/nix-hash.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/command-ref/nix-hash.xml b/doc/manual/command-ref/nix-hash.xml
index 8d8213c0bc..80263e18e3 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>