Skip to main content

normalize_document

Function normalize_document 

Source
pub fn normalize_document(doc: Document) -> Result<Document, ParseError>
Expand description

Normalize a crate::document::Document after parsing: per card, payload field names → Unicode NFC.

Card bodies are already-normalized content (import-time); they carry through unchanged. YAML field values pass through verbatim. Idempotent.