Skip to content

Commit 00cf0b6

Browse files
committed
fix HTML lua messages returning as raw
1 parent d7899f5 commit 00cf0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executor/lua_executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func (*LuaExecutor) executeHTMLMessage(ctx context.Context, fields log.Fields, L
247247
)
248248
defer span.End()
249249

250-
res := new(ScriptResult)
250+
res := &ScriptResult{IsHTML: true}
251251

252252
log.WithFields(fields).Debug("Running HTML based script")
253253
gMethod := L.GetGlobal(msg.Method)

0 commit comments

Comments
 (0)