aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Conway <john.a.conway@gmail.com>2019-05-09 18:50:52 +0100
committerJohn Conway <john.a.conway@gmail.com>2019-05-09 18:50:52 +0100
commit0192f44c2a302fbc205203a1c8f8f1387936ea7b (patch)
treed247199d1de381e6a60a254374d4c4142cc19fa2 /src
parent556a15e81e40afae2263104774a7c43775e0b8e0 (diff)
downloadfeed-nim-0192f44c2a302fbc205203a1c8f8f1387936ea7b.tar.gz
feed-nim-0192f44c2a302fbc205203a1c8f8f1387936ea7b.zip
Bumped version 0.1.0 -> 0.1.1
Diffstat (limited to 'src')
-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] =