diff --git a/server/notes.go b/server/notes.go index 3edd14b..37673b9 100755 --- a/server/notes.go +++ b/server/notes.go @@ -83,8 +83,7 @@ func (s *Server) htmlAttachments(w http.ResponseWriter, urlPath string) { dir := path.Dir(urlPath) f := "." + path.Base(urlPath) + ".attachments" _, files, _ := s.Notes.Dir(path.Join(dir, f)) - // - //style="min-width: 2em; text-align: center; padding: 0; margin-top: 0; margin-bottom: 0;"/> + // TODO: direct DL via link form := fmt.Sprintf(`