Generate policy significance context for a document based on its metadata.
Uses the localised policySignificanceTouches label plus a domain-specific
analysis sentence instead of generic boilerplate.
Falls back to a committee-specific sentence (derived from COMMITTEE_NAMES)
when no domain keyword matches but the document's organ field identifies a
known Riksdag committee.
Contract: Returns HTML-safe text (user-supplied fields are escaped via
escapeHtml() internally). Callers must not double-escape the result.
Generate policy significance context for a document based on its metadata. Uses the localised policySignificanceTouches label plus a domain-specific analysis sentence instead of generic boilerplate. Falls back to a committee-specific sentence (derived from COMMITTEE_NAMES) when no domain keyword matches but the document's organ field identifies a known Riksdag committee.
Contract: Returns HTML-safe text (user-supplied fields are escaped via
escapeHtml()internally). Callers must not double-escape the result.