LivelyKernel/LivelyKernel — pull request #256 by mroeder (2014-05-22 10:55:04+00:00)
Title: Fixing XMLSerializer (not) encoding ampersands in world data

There is a bug using XMLSerializer on different OSs and in different browsers. The Firefox for example consequently encodes the serialized world data inside the script tag (WIN and Mac). Chrome does the same when in Windows (@timfel).

Easiest way to reproduce, is to open a blank world, add a morph and a script containing an ampersand (`true && false`). If the script tag gets encoded, the world cannot be deserialized anymore.

This fix increases the LivelyMigrationLevel and fixes serialization and deserialization accordingly by wrapping the world data script tag with an CDATA element.