From: paul Date: Mon, 2 Dec 2013 15:22:46 +0000 (+0000) Subject: display line breaks in comments X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b8bff97ab74a69d9a281c7fe1f9498f4f96a189a;p=lobster display line breaks in comments svn path=/trunk/; revision=33 --- 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 '
'