WoltLab/WCF — pull request #727 by frmwrk123 (2012-07-28 12:16:47+00:00)
Title: Fixes unterminated string literal problem.

This time the problem is solved with no complicated measures. I modified the readValues and assignValues method of I18nValues to ensure that OS specific newlines are not in the database. In addition trailing and leading whitespace is deleted (using StringUtil::trim). For assignVariables the newlines are unified again (to be 100 % sure; someone could have edited the database manually) and in the last step they get a JS encoding.

This works and is a minimalistic solution. Should be ready to merge.