ealonso/liferay-portal — pull request #238 by holatuwol (2014-07-24 23:26:10+00:00)
Title: LPS-48804

HtmlUtil.escapeJS() worked, but it had the same bug that HtmlUtil.escape() probably had in the original implementation in that the commas inside of a primary key were treated as a delimiter and a table with two rows often had many more IDs. Using JSONArray.toString() instead to address that issue.