Skip to content

Commit

Permalink
Merge pull request #7 from webability-go/late-night
Browse files Browse the repository at this point in the history
patch v0.0.6
  • Loading branch information
metalwolf committed Apr 8, 2020
2 parents bb6ba6c + 0a68d5a commit 7def795
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -20,6 +20,10 @@ TO DO:
Version Changes Control
=======================

v0.0.6 - 2020-03-08
------------------------
- Correction on assigning the node data (concatened, only if some info into it: will ignore spaces and line formatting characters)

v0.0.5 - 2020-03-07
-----------------------
- Added UnmarshalXML
Expand Down
5 changes: 4 additions & 1 deletion node.go
Expand Up @@ -220,7 +220,10 @@ func (n *Node) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
return nil
}
case xml.CharData:
n.Data = string(tt)
s := strings.TrimSpace(string(tt))
if s != "" {
n.Data += string(tt)
}
}
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion wajaf.go
Expand Up @@ -7,7 +7,7 @@
package wajaf

// VERSION is the used version nombre of the XCore library.
const VERSION = "0.0.5"
const VERSION = "0.0.6"

// LOG is the flag to activate logging on the library.
// if LOG is set to TRUE, LOG indicates to the XCore libraries to log a trace of functions called, with most important parameters.
Expand Down

0 comments on commit 7def795

Please sign in to comment.