diff options
| author | Mr. Paul <mrpaul@aestheticwisdom.com> | 2021-09-27 09:34:59 +0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-09-27 18:22:56 +0300 |
| commit | 25266d08046df6032007b46346faf01a2f40ef31 (patch) | |
| tree | f176cff3cb810fc6e2b9c31548f6cda8a0e8ba68 /doc | |
| parent | 1f2f9f05c254374044d8c30cce6f299d7a18da72 (diff) | |
| download | zig-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')
| -rw-r--r-- | doc/langref.html.in | 4 |
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) => { console.log(`The result is ${result}`); } - }}).then(result => { + print: (result) => { console.log(`The result is ${result}`); } + }}).then(result => { const add = result.instance.exports.add; add(1, 2); });{#end_syntax_block#} |
