Closed guidoschmidt closed 2 weeks ago
Thank you so much @guidoschmidt!!! Very good spotting & debugging! I'll add some more test cases & then release asap! 👍
Hi @guidoschmidt - i've made some more minor changes to also support nested CDATA (just in case) and it's all released now (v2.2.0)
One more small favor for the future: Please use the Convential Commits syntax for any commits to this repo. Because you didn't, your fix/commit is not included in the generated changelog now (and I've no way of fixing it myself). There's also got a brief overview here:
https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#commit-your-changes
Hi @guidoschmidt - i've made some more minor changes to also support nested CDATA (just in case) and it's all released now (v2.2.0)
One more small favor for the future: Please use the Convential Commits syntax for any commits to this repo. Because you didn't, your fix/commit is not included in the generated changelog now (and I've no way of fixing it myself). There's also got a brief overview here:
https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#commit-your-changes
Ah neat, thanks for pointing it out. Will do in the future. I kind of use my own syntax for commit structure ever since, might be nice to switch to something more popular indeed 😏
Hey hey,
Today I tried to use thi.ng/sax to parse an RSS XML feed, which eventually has CDATA inside some markup tags, e.g.
Unfortunatelly the CDATA content was missing, I assume it should be parsed as
body
for the given element. Here's a quick example:which leads to the following output:
spun up the debugger, it looks like there was a line missing here in order to get the CDATA parsed as
body
.