aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_handle_repo_tree.go')
-rw-r--r--http_handle_repo_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go
index 190f082..ae9efbc 100644
--- a/http_handle_repo_tree.go
+++ b/http_handle_repo_tree.go
@@ -84,7 +84,7 @@ func handle_repo_tree(w http.ResponseWriter, r *http.Request, params map[string]
http.Error(w, "Error formatting code: "+err.Error(), http.StatusInternalServerError)
return
}
- formatted_encapsulated = template.HTML(formatted_unencapsulated.Bytes())
+ formatted_encapsulated = template.HTML(formatted_unencapsulated.Bytes()) //#nosec G203
params["file_contents"] = formatted_encapsulated
render_template(w, "repo_tree_file", params)