From b8bff97ab74a69d9a281c7fe1f9498f4f96a189a Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 2 Dec 2013 15:22:46 +0000 Subject: [PATCH] display line breaks in comments svn path=/trunk/; revision=33 --- templates/view_course.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/view_course.sh b/templates/view_course.sh index f4c1b21..e5513c4 100755 --- a/templates/view_course.sh +++ b/templates/view_course.sh @@ -63,7 +63,7 @@ echo ' ' echo '
' echo ' '$(l10n COMMENT)'' for n in COMMENT COMMENT{0..10}; do [ -n "$values[$n]" ] &&\ - echo '

'$values[$n]'

' + echo '

'$(echo "$values[$n]" |sed -r "s:$:
:g" )'

' done echo '
' -- 2.39.2