You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If no content is present, 'content:encoded' is pushed to item. this results in an encoding problem because no namespace is present. Adding content is a quick fix.
The text was updated successfully, but these errors were encountered:
Would it be possible to get a version-bump and a new patch-release on NPM, so it is possible to specify a dependency on this library that contains this fix?
in your code I see the following:
if(items[i].content)
bContent = true;
item.push({ 'content:encoded': { _cdata: items[i].content }});
I guess you forgot the "{}"
RESULT
If no content is present, 'content:encoded' is pushed to item. this results in an encoding problem because no namespace is present. Adding content is a quick fix.
The text was updated successfully, but these errors were encountered: