Commit b80b7b06 authored by Openset's avatar Openset

Update: Redundant semicolon disableEscapeHTML

parent ad6c97ec
...@@ -17,8 +17,8 @@ package logs ...@@ -17,8 +17,8 @@ package logs
import ( import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"time"
"fmt" "fmt"
"time"
) )
const ( const (
...@@ -53,10 +53,9 @@ func (r *AccessLogRecord) json() ([]byte, error) { ...@@ -53,10 +53,9 @@ func (r *AccessLogRecord) json() ([]byte, error) {
} }
func disableEscapeHTML(i interface{}) { func disableEscapeHTML(i interface{}) {
e, ok := i.(interface { if e, ok := i.(interface {
SetEscapeHTML(bool) SetEscapeHTML(bool)
}); }); ok {
if ok {
e.SetEscapeHTML(false) 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