Skip to content

Commit

Permalink
Escape special characters in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Bachmann committed May 13, 2024
1 parent 7857a60 commit 37ba523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/frontend/reducers/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const initialState: string = `use {puts}: "std/libc/io.bl"
use {exit}: "std/libc/proc.bl"
fn main() {
puts("Hello, world!\n\0")
puts("Hello, world!\\n\\0")
exit(0)
}`;

Expand Down

0 comments on commit 37ba523

Please sign in to comment.