diff --git a/src/DCC.ts b/src/DCC.ts index ca183c395ebb557d9b59dbbf57725d5f59cd04f4..e5f3b2f0a76cd9be6a473095f1e8280b044d4245 100644 --- a/src/DCC.ts +++ b/src/DCC.ts @@ -298,7 +298,7 @@ export class RichContentType extends DCCXMLElement { } getContent(lang?: string): StringWithLangType | undefined { - if(!this.content) return null; + if (!this.content) return null; // item with undefined as lang is default const def = this.content.find((x) => x._attr == null || x._attr.lang == null);