Index: lams_central/src/java/org/lamsfoundation/lams/web/RatingServlet.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/RatingServlet.java,v diff -u -r1.6 -r1.7 --- lams_central/src/java/org/lamsfoundation/lams/web/RatingServlet.java 21 May 2015 23:39:24 -0000 1.6 +++ lams_central/src/java/org/lamsfoundation/lams/web/RatingServlet.java 1 Jun 2015 23:29:49 -0000 1.7 @@ -78,7 +78,7 @@ if (criteria.isCommentsEnabled()) { String comment = WebUtil.readStrParam(request, "comment"); ratingService.commentItem(criteria, userId, itemId, comment); - JSONObject.put("comment", StringEscapeUtils.escapeJavaScript(comment)); + JSONObject.put("comment", StringEscapeUtils.escapeCsv(comment)); } else { float rating = Float.parseFloat((String) request.getParameter("rate")); Index: lams_central/web/css/jquery.jRating.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/css/jquery.jRating.css,v diff -u -r1.7 -r1.8 --- lams_central/web/css/jquery.jRating.css 21 May 2015 23:39:24 -0000 1.7 +++ lams_central/web/css/jquery.jRating.css 1 Jun 2015 23:29:49 -0000 1.8 @@ -73,6 +73,9 @@ margin-top: 0; margin-bottom: 12px; } +textarea[id^=comment-textarea-] { + color: #d3d3d3; +} /** Remove the following once we move all tools to use Rating.tag. **/ .rating-stars-div {float:right; padding-right: 10px; margin-top: -8px; min-height: 45px;}