mirror of
https://github.com/ziglang/zig.git
synced 2026-01-06 05:25:10 +00:00
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
This commit is contained in:
parent
1f2f9f05c2
commit
25266d0804
@ -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#}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user