authorgravatar for mrpaul@aestheticwisdom.comMr. Paul <mrpaul@aestheticwisdom.com> 2021-09-27 09:34:59+07:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2021-09-27 18:22:56+03:00
log25266d08046df6032007b46346faf01a2f40ef31
treef176cff3cb810fc6e2b9c31548f6cda8a0e8ba68
parent1f2f9f05c254374044d8c30cce6f299d7a18da72

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

1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
...@@ -10543,8 +10543,8 @@ const typedArray = new Uint8Array(source);...@@ -10543,8 +10543,8 @@ const typedArray = new Uint8Array(source);
1054310543
10544WebAssembly.instantiate(typedArray, {10544WebAssembly.instantiate(typedArray, {
10545 env: {10545 env: {
10546 print: (result) =&gt; { console.log(`The result is ${result}`); }10546 print: (result) => { console.log(`The result is ${result}`); }
10547 }}).then(result =&gt; {10547 }}).then(result => {
10548 const add = result.instance.exports.add;10548 const add = result.instance.exports.add;
10549 add(1, 2);10549 add(1, 2);
10550});{#end_syntax_block#}10550});{#end_syntax_block#}