diff --git a/packages/plugin-tools/src/brainfuck.ts b/packages/plugin-tools/src/brainfuck.ts index 5e4064a973..a360937969 100644 --- a/packages/plugin-tools/src/brainfuck.ts +++ b/packages/plugin-tools/src/brainfuck.ts @@ -123,7 +123,7 @@ export function apply(ctx: Context, config: BrainfuckOptions = {}) { source = CQCode.unescape(source) const input = CQCode.unescape(options.input) try { - return new BrainFuck(source, config).exec(input), true + return CQCode.escape(new BrainFuck(source, config).exec(input)) } catch (error) { if (error.name === 'BFError') { return error.message