aboutsummaryrefslogtreecommitdiff
path: root/editor/editor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor.ts')
-rw-r--r--editor/editor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.ts b/editor/editor.ts
index fe73050..20afdf1 100644
--- a/editor/editor.ts
+++ b/editor/editor.ts
@@ -337,7 +337,7 @@ export class WuiEditor {
Open(node: WuiVfsNodeInterface): void {
this.active_file = node
- let content = atob(node.content || "")
+ let content = atob(node.content)
content = content.replace("\r\n", "\n")
this.raw_lines = content.split("\n")