aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/feednim/atom.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feednim/atom.nim b/src/feednim/atom.nim
index ebc171e..a7ce51c 100644
--- a/src/feednim/atom.nim
+++ b/src/feednim/atom.nim
@@ -87,7 +87,8 @@ type
title*: string
updated*: string
-converter toString*(obj: AtomText): string =
+
+converter toString*(obj: AtomText): string = # Promotes text node to the top if caller expects string
return obj.text
proc parseAuthors ( node: XmlNode, mode="author" ) : seq[AtomAuthor] =