From 25266d08046df6032007b46346faf01a2f40ef31 Mon Sep 17 00:00:00 2001 From: "Mr. Paul" Date: Mon, 27 Sep 2021 09:34:59 +0700 Subject: [PATCH] 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 --- doc/langref.html.in | 4 ++-- 1 file 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#}