Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

CDATA section breaks language files

Found in

EPiServer.CMS.Core 7.0.586.0

Fixed in

EPiServer.CMS.Core 9.12.1

(Or a related package)

Created

Jul 08, 2016

Updated

Aug 26, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

Steps to reproduce:
1. Add a dummy language file to a demo site.
2. Add normal translations to the language file and confirm that it works.
3. Add a CDATA element to the file.
4. Reload the page.

Expected:
Page loads normally

Actual:
You get an error

Here's some related blog posts and world posts:
http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=119287
https://andersnordby.wordpress.com/2014/08/29/episerver-cdata-bug-in-language-files/