A Python application which has the responsibility of tracking IATI data from around the Web and refreshing the core IATI software's data stores
GNU Affero General Public License v3.0
2
stars
0
forks
source link
Lakify hierarchical JSON nesting function omits free-floating text when other children are present #291
Closed
akmiller01 closed 12 months ago
The recursive json nesting function of lakify will omit free-floating text when other children are present. For e.g.
Would be serialized as:
Where one might expect:
This is because this floating text is not captured by
element.text
. It is, however, captured byelement.itertext
and could be derived like so:Discovered while writing tests in PR #289