changeset 494:6906c140431a

Fix pattern: Allow spaces for group name in group listing
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 16 Jun 2018 13:43:32 +0900
parents d879d9d1acb7
children 59cd8278a5b5
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Sat Jun 16 13:25:55 2018 +0900
+++ b/s4-funcs.sh	Sat Jun 16 13:43:32 2018 +0900
@@ -1947,7 +1947,7 @@
     echo "<h2>$tn</h2>"
     echo '<table class="b listgroup">'
     sq -header -html $db "$sql" \
-       | sed "s,\(<TR><TD>\)\([0-9]*\):\([^ ]*\)</TD>,\1$href\2\">\3</a>,"
+      | sed "s,\(<TR><TD>\)\([0-9]*\):\([^<]*\)</TD>,\1$href\2\">\3</a>,"
     echo '</table>'
   done
   echo '</div>'

yatex.org