aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
authorMr. Paul <mrpaul@aestheticwisdom.com>2021-09-27 09:34:59 +0700
committerVeikka Tuominen <git@vexu.eu>2021-09-27 18:22:56 +0300
commit25266d08046df6032007b46346faf01a2f40ef31 (patch)
treef176cff3cb810fc6e2b9c31548f6cda8a0e8ba68 /doc/langref.html.in
parent1f2f9f05c254374044d8c30cce6f299d7a18da72 (diff)
downloadzig-25266d08046df6032007b46346faf01a2f40ef31.tar.gz
zig-25266d08046df6032007b46346faf01a2f40ef31.zip
Langref: fix HTML escaped symbol WASM JavaScript code example
docgen HTML escapes characters inside of `syntax_block`s. This commit replaces the escaped greater than with the `>` character. No other occurrences were found. Fixes #9840
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 561065bc0d..a5dfa5c927 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -10543,8 +10543,8 @@ const typedArray = new Uint8Array(source);
WebAssembly.instantiate(typedArray, {
env: {
- print: (result) =&gt; { console.log(`The result is ${result}`); }
- }}).then(result =&gt; {
+ print: (result) => { console.log(`The result is ${result}`); }
+ }}).then(result => {
const add = result.instance.exports.add;
add(1, 2);
});{#end_syntax_block#}