rails/rails — pull request #5380 by benmmurphy (2012-03-11 17:39:56+00:00)
Title: ensure u2029 is escaped in escape_javascript helper

similar to issue #2587

http://www.fileformat.info/info/unicode/char/2029/index.htm
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf (section 7.3)

The ECMAScript line terminator characters are listed in Table 3.
Table 3 — Line Terminator Characters
Code Unit Value Name Formal Name
\u000A Line Feed
\u000D Carriage Return
\u2028 Line separator
\u2029 Paragraph separator