Correct support for ]]> in string passed to CDATA (github #48)

Fix for #48.