Merge pull request #12693 from carpodaster/convert-cdata-input-to-string

Convert CDATA input to string before gsub'ing