Fixed issue with CDATA in sub-log

[JENKINS-20977]