soldair/node-jsontoxml — pull request #13 by jlank (2013-05-10 02:19:14+00:00)
Title: Undefined/Null check before calling .replace() on a cdata wrapping

If you don't check and someone passes in an undefined variable it throws an error. I added a simple check for this, if its undefined it returns an empty CDATA block.