Pull request (OPEN) · PR #983 fix(endpoint-micropub): trim, drop empty and fold duplicate categories · @rmdes
Fixes #982.
getCategoryProperty trims each value, drops empties, and folds case-insensitive duplicates onto the first spelling given; a category left empty is removed. No canonical casing against the publication’s own category list, which would be a separate decision.
Three unit tests and one integration test, all seen failing first.
This is one of the last six changes ported from my fork; nothing here needs to hold a release.