Fix error in micropub input
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2018-08-19 20:11:24 +02:00
parent c1e51e873a
commit 407d4fb155
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -92,7 +92,7 @@ func (h *micropubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
item = jf2.MapToItem(jf2.SimplifyMicroformat(&mfItem))
item = jf2.MapToItem(jf2.SimplifyMicroformat(&mfItem, nil))
ok = true
} else if r.Header.Get("Content-Type") == "application/x-www-form-urlencoded" {
content := r.FormValue("content")