Commit b80b7b06 authored by Openset's avatar Openset

Update: Redundant semicolon disableEscapeHTML

parent ad6c97ec
......@@ -17,8 +17,8 @@ package logs
import (
"bytes"
"encoding/json"
"time"
"fmt"
"time"
)
const (
......@@ -53,10 +53,9 @@ func (r *AccessLogRecord) json() ([]byte, error) {
}
func disableEscapeHTML(i interface{}) {
e, ok := i.(interface {
if e, ok := i.(interface {
SetEscapeHTML(bool)
});
if ok {
}); ok {
e.SetEscapeHTML(false)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment