Issue ouverte · Issue #982 Micropub stores categories as typed: whitespace, empty values and case duplicates become distinct categories · @rmdes
normaliseProperties in packages/endpoint-micropub/lib/jf2.js normalises content (line 79) and location (line 83) but passes category through untouched.
Reproduction: POST /micropub with h=entry&category=Cheese&category=+cheese+&category=, then q=source&url=…: category is ["Cheese", " cheese ", ""], three categories on the site for one.