Skip to content

Commit 9a8c0f2

Browse files
gkelloggdavidlehn
authored andcommitted
Don't be so clever when setting processingMode.
1 parent 6aa92e1 commit 9a8c0f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ api.process = ({activeCtx, localCtx, options}) => {
108108
}
109109

110110
// If not set explicitly, set processingMode to "json-ld-1.0"
111-
rval.processingMode |= activeCtx.processingMode || 'json-ld-1.0';
111+
rval.processingMode = rval.processingMode || activeCtx.processingMode || 'json-ld-1.0';
112112

113113
// handle @base
114114
if('@base' in ctx) {

0 commit comments

Comments
 (0)