Skip to content

Commit 3750831

Browse files
committed
Always use safe mode for canonized.
1 parent 58625cb commit 3750831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/next/editor.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ window.app = createApp({
505505
// TODO: this should happen elsewhere...like a watcher
506506
try {
507507
const output = await jsonld.canonize(this.doc, {
508-
format: 'application/n-quads', ...this.options
508+
format: 'application/n-quads', ...{...this.options, ...{safe: true}}
509509
});
510510
setEditorValue(readOnlyEditor, output);
511511
this.parseError = {};

0 commit comments

Comments
 (0)