mirror of https://github.com/perkeep/perkeep.git
app/publisher: remove useless urlquery escaper
According to https://golang.org/pkg/html/template/#ErrorCode (ErrPredefinedEscaper), the template engine already performs sanitization equivalent to urlquery on any pipeline, and therefore makes this extra urlquery call unnecessary, and even maybe harmful. Change-Id: I7fcce395bf015b64022d1ac66b42069cdefb69eb
This commit is contained in:
parent
00bc12d403
commit
c3e7fc8002
|
@ -25,7 +25,7 @@
|
|||
<script>RenderFile();</script>
|
||||
{{else}}
|
||||
{{if $membersData := call .Members}}
|
||||
<div><a href='{{$membersData.SubjectPath}}/=z/{{$membersData.ZipName | urlquery}}'>{{$membersData.ZipName}}</a></div>
|
||||
<div><a href='{{$membersData.SubjectPath}}/=z/{{$membersData.ZipName}}'>{{$membersData.ZipName}}</a></div>
|
||||
<div id="blobitemcontainer"><ul id="members"></ul></div>
|
||||
<script>RenderMembers();</script>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue