s4

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 diff
     1.1 --- a/s4-funcs.sh	Sat Jun 16 13:25:55 2018 +0900
     1.2 +++ b/s4-funcs.sh	Sat Jun 16 13:43:32 2018 +0900
     1.3 @@ -1947,7 +1947,7 @@
     1.4      echo "<h2>$tn</h2>"
     1.5      echo '<table class="b listgroup">'
     1.6      sq -header -html $db "$sql" \
     1.7 -       | sed "s,\(<TR><TD>\)\([0-9]*\):\([^ ]*\)</TD>,\1$href\2\">\3</a>,"
     1.8 +      | sed "s,\(<TR><TD>\)\([0-9]*\):\([^<]*\)</TD>,\1$href\2\">\3</a>,"
     1.9      echo '</table>'
    1.10    done
    1.11    echo '</div>'