diff --git a/src/parserutils.nim b/src/parserutils.nim index 0f50fc2..d8a3efd 100644 --- a/src/parserutils.nim +++ b/src/parserutils.nim @@ -43,6 +43,7 @@ proc isProtected*(profile: XmlNode): bool = getHeader(profile).select(".Icon.Icon--protected") != nil proc parseText*(text: XmlNode; skipLink=""): string = + if text == nil: return for el in text: case el.kind of xnText: