Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningAction.java =================================================================== diff -u -rfadef2b7b1f00478057ecade707ca37aa24ebe15 -r54278e5d207aa91230d3f49df475bea48273e758 --- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningAction.java (.../VoteLearningAction.java) (revision fadef2b7b1f00478057ecade707ca37aa24ebe15) +++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningAction.java (.../VoteLearningAction.java) (revision 54278e5d207aa91230d3f49df475bea48273e758) @@ -976,9 +976,13 @@ VoteGeneralLearnerFlowDTO voteGeneralLearnerFlowDTO= new VoteGeneralLearnerFlowDTO(); voteGeneralLearnerFlowDTO.setActivityTitle(voteContent.getTitle()); - voteGeneralLearnerFlowDTO.setReflectionSubject(voteContent.getReflectionSubject()); - - request.setAttribute(VOTE_GENERAL_LEARNER_FLOW_DTO, voteGeneralLearnerFlowDTO); + + String reflectionSubject=voteContent.getReflectionSubject(); + reflectionSubject=VoteUtils.replaceNewLines(reflectionSubject); + + voteGeneralLearnerFlowDTO.setReflectionSubject(reflectionSubject); + request.setAttribute(VOTE_GENERAL_LEARNER_FLOW_DTO, voteGeneralLearnerFlowDTO); + logger.debug("final voteGeneralLearnerFlowDTO: " + voteGeneralLearnerFlowDTO); voteLearningForm.resetCommands();